aboutsummaryrefslogtreecommitdiffstats
path: root/main/frotz
diff options
context:
space:
mode:
Diffstat (limited to 'main/frotz')
-rw-r--r--main/frotz/APKBUILD16
1 files changed, 3 insertions, 13 deletions
diff --git a/main/frotz/APKBUILD b/main/frotz/APKBUILD
index ccb94211c..a510d8009 100644
--- a/main/frotz/APKBUILD
+++ b/main/frotz/APKBUILD
@@ -14,25 +14,15 @@ install=""
subpackages="$pkgname-doc"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/DavidGriffith/${pkgname}/archive/${pkgver}.tar.gz
Makefile.patch"
-
-_builddir="$srcdir/$pkgname-${pkgver}"
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/$pkgname-${pkgver}"
build() {
- cd "$_builddir"
+ cd "$builddir"
make
}
package() {
- cd "$_builddir"
+ cd "$builddir"
strip $pkgname
install -m755 -d "${pkgdir}/usr/bin"
install -m755 -d "${pkgdir}/usr/share/man/man6"