update vlmcsd
This commit is contained in:
parent
69f93c80ab
commit
fc00abac00
@ -1,5 +1,5 @@
|
||||
pkgname=vlmcsd
|
||||
pkgver=svn1111
|
||||
pkgver=svn1113
|
||||
pkgrel=1
|
||||
pkgdesc="KMS Emulator in C"
|
||||
arch=('i686' 'x86_64' 'armv6h')
|
||||
@ -7,18 +7,20 @@ url="http://forums.mydigitallife.info/threads/50234"
|
||||
license=('custom')
|
||||
source=("https://github.com/Wind4/vlmcsd/archive/${pkgver}.tar.gz"
|
||||
"${pkgname}.service")
|
||||
sha256sums=('ee9ecb67c3f69896b050ffcceda84ba90c084ee5d367d8761491942520e599b0'
|
||||
'a045c1af8cff956117feaf7b4702b4167f27c103f94dd71090a2ef566cd7080f')
|
||||
sha256sums=('62f55c48f5de1249c2348ab6b96dabbe7e38899230954b0c8774efb01d9c42cc'
|
||||
'f0a462cc15f1d9afa18a92a6434d0b0ed68349ba69f878d0a8c84840b5fd4f7f')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make -f GNUmakefile VLMCSD_VERSION=${pkgver} CFLAGS="-DINCLUDE_BETAS"
|
||||
make -f GNUmakefile VLMCSD_VERSION=${pkgver}
|
||||
}
|
||||
|
||||
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
|
||||
install -Dm644 etc/${pkgname}.ini "${pkgdir}"/etc/${pkgname}.ini
|
||||
install -Dm644 etc/${pkgname}.kmd "${pkgdir}"/etc/${pkgname}.kmd
|
||||
install -Dm644 man/${pkgname}.7 "${pkgdir}"/usr/share/man/man7/${pkgname}.7
|
||||
install -Dm644 man/${pkgname}.8 "${pkgdir}"/usr/share/man/man8/${pkgname}.8
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ Description=KMS Server Emulator
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/vlmcsd -D -C 1036 -P 3128 -l syslog -v
|
||||
ExecStart=/usr/bin/vlmcsd -D -C 1033 -P 3128 -l syslog -v
|
||||
User=nobody
|
||||
Group=nobody
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user