diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-12-28 07:40:22 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-12-28 07:40:26 +0000 |
commit | 0c63bef3ca42d41cda2856ea19c80b89545d9b7e (patch) | |
tree | f376efcef8ea196fa97bfc9bfe43e6c392f33606 /community/minetest | |
parent | 9d947e571f1cf4a7bb540caec1425ec01373f930 (diff) | |
download | aports-0c63bef3ca42d41cda2856ea19c80b89545d9b7e.tar.bz2 aports-0c63bef3ca42d41cda2856ea19c80b89545d9b7e.tar.xz |
community/minetest: install init scripts in main package
Diffstat (limited to 'community/minetest')
-rw-r--r-- | community/minetest/APKBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/community/minetest/APKBUILD b/community/minetest/APKBUILD index 989487463f..db62ee7d9c 100644 --- a/community/minetest/APKBUILD +++ b/community/minetest/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Sascha Paunovic <azarus@posteo.net> pkgname=minetest pkgver=0.4.17.1 -pkgrel=1 +pkgrel=2 pkgdesc="An infinite-world block sandbox game and a game engine" url="https://minetest.net/" # luajit is not available for disabled arches @@ -64,6 +64,10 @@ common() { package() { cd "$builddir"/.build_client make DESTDIR="$pkgdir" install + install -D -m755 "$srcdir"/minetest-server.initd \ + "$pkgdir"/etc/init.d/minetest-server + install -D -m644 "$srcdir"/minetest-server.confd \ + "$pkgdir"/etc/conf.d/minetest-server } server(){ @@ -71,10 +75,6 @@ server(){ cd "$builddir" install -m644 -D $pkgname.conf.example \ "$subpkgdir"/etc/$pkgname/$pkgname.conf - install -D -m755 "$srcdir"/minetest-server.initd \ - "$subpkgdir"/etc/init.d/minetest-server - install -D -m644 "$srcdir"/minetest-server.confd \ - "$subpkgdir"/etc/conf.d/minetest-server cp bin/minetestserver $subpkgdir/usr/bin } |