Commit 29570a54 authored by Francesco Colista's avatar Francesco Colista

main/minetest: mv pkgdir to subpkgdir in server function

parent 7294a771
......@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=minetest
pkgver=0.4.10
pkgrel=1
pkgrel=2
pkgdesc="An infinite-world block sandbox game and a game engine"
url="http://minetest.net/"
arch="all"
......@@ -72,11 +72,11 @@ package() {
server(){
mkdir -p "${subpkgdir}/usr/bin"
cd "${_builddir}"
install -m644 -D $pkgname.conf.example "$pkgdir"/etc/$pkgname/$pkgname.conf
install -m644 -D $pkgname.conf.example "$subpkgdir"/etc/$pkgname/$pkgname.conf
install -D -m755 "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname || return 1
"$subpkgdir"/etc/init.d/$pkgname || return 1
install -D -m644 "$srcdir"/$pkgname.confd \
"$pkgdir"/etc/conf.d/$pkgname || return 1
"$subpkgdir"/etc/conf.d/$pkgname || return 1
cp bin/minetestserver ${subpkgdir}/usr/bin
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment