init
This commit is contained in:
commit
52de21eef9
8 changed files with 17337 additions and 0 deletions
24
vlmcsd/PKGBUILD
Normal file
24
vlmcsd/PKGBUILD
Normal file
|
@ -0,0 +1,24 @@
|
|||
pkgname=vlmcsd
|
||||
pkgver=svn1111
|
||||
pkgrel=1
|
||||
pkgdesc="KMS Emulator in C"
|
||||
arch=('i686' 'x86_64' 'armv6h')
|
||||
url="http://forums.mydigitallife.info/threads/50234"
|
||||
license=('custom')
|
||||
source=("https://github.com/Wind4/vlmcsd/archive/${pkgver}.tar.gz"
|
||||
"${pkgname}.service")
|
||||
sha256sums=('ee9ecb67c3f69896b050ffcceda84ba90c084ee5d367d8761491942520e599b0'
|
||||
'a045c1af8cff956117feaf7b4702b4167f27c103f94dd71090a2ef566cd7080f')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make -f GNUmakefile VLMCSD_VERSION=${pkgver} CFLAGS="-DINCLUDE_BETAS"
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm644 ${source[1]} "${pkgdir}"/usr/lib/systemd/system/${source[1]}
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
install -Dm755 bin/${pkgname} "${pkgdir}"/usr/bin/${pkgname}
|
||||
install -Dm644 man/vlmcsd.7 "${pkgdir}"/usr/share/man/man7/vlmcsd.7
|
||||
install -Dm644 man/vlmcsd.8 "${pkgdir}"/usr/share/man/man8/vlmcsd.8
|
||||
}
|
11
vlmcsd/vlmcsd.service
Normal file
11
vlmcsd/vlmcsd.service
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=KMS Server Emulator
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/vlmcsd -D -C 1036 -P 3128 -l syslog -v
|
||||
User=nobody
|
||||
Group=nobody
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue