27 lines
1002 B
Bash
27 lines
1002 B
Bash
pkgname=vlmcsd
|
|
pkgver=svn1113
|
|
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=('62f55c48f5de1249c2348ab6b96dabbe7e38899230954b0c8774efb01d9c42cc'
|
|
'f0a462cc15f1d9afa18a92a6434d0b0ed68349ba69f878d0a8c84840b5fd4f7f')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
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 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
|
|
}
|