aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/minetest/APKBUILD32
1 files changed, 16 insertions, 16 deletions
diff --git a/main/minetest/APKBUILD b/main/minetest/APKBUILD
index 49dd97a6d2..e21020c703 100644
--- a/main/minetest/APKBUILD
+++ b/main/minetest/APKBUILD
@@ -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"
@@ -45,16 +45,16 @@ build() {
make || return 1
mkdir "${_builddir}"/.build_server
cd "${_builddir}"/.build_server
- cmake -DCUSTOM_BINDIR=/usr/bin \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCUSTOM_DOCDIR="/usr/share/doc/minetest" \
- -DCUSTOM_SHAREDIR="/usr/share/minetest" \
- -DBUILD_CLIENT=0 \
- -DBUILD_SERVER=1 \
- -DENABLE_REDIS=1 \
- -DRUN_IN_PLACE=0 \
- ..
- make || return 1
+ cmake -DCUSTOM_BINDIR=/usr/bin \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCUSTOM_DOCDIR="/usr/share/doc/minetest" \
+ -DCUSTOM_SHAREDIR="/usr/share/minetest" \
+ -DBUILD_CLIENT=0 \
+ -DBUILD_SERVER=1 \
+ -DENABLE_REDIS=1 \
+ -DRUN_IN_PLACE=0 \
+ ..
+ make || return 1
}
common() {
@@ -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 -D -m755 "$srcdir"/$pkgname.initd \
- "$pkgdir"/etc/init.d/$pkgname || return 1
- install -D -m644 "$srcdir"/$pkgname.confd \
- "$pkgdir"/etc/conf.d/$pkgname || return 1
+ install -m644 -D $pkgname.conf.example "$subpkgdir"/etc/$pkgname/$pkgname.conf
+ install -D -m755 "$srcdir"/$pkgname.initd \
+ "$subpkgdir"/etc/init.d/$pkgname || return 1
+ install -D -m644 "$srcdir"/$pkgname.confd \
+ "$subpkgdir"/etc/conf.d/$pkgname || return 1
cp bin/minetestserver ${subpkgdir}/usr/bin
}