aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/spacefm/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/testing/spacefm/APKBUILD b/testing/spacefm/APKBUILD
index 8cd259b69e..e70c9386f9 100644
--- a/testing/spacefm/APKBUILD
+++ b/testing/spacefm/APKBUILD
@@ -12,9 +12,15 @@ makedepends="intltool gettext-dev gtk+2.0-dev gtk+3.0-dev eudev-dev ffmpegthumbn
subpackages="$pkgname-lang $pkgname-doc $pkgname-gtk3 $pkgname-gtk3-lang:lang3 $pkgname-gtk3-doc:doc3"
source="$pkgname-$pkgver.tar.gz::https://github.com/IgnorantGuru/spacefm/archive/$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ default_prepare || return 1
+ update_config_guess || return 1
+}
+
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure --prefix=/usr \
--with-gtk2\
-disable-pixmaps || return 1
@@ -25,7 +31,7 @@ gtk3() {
pkgdesc="Multi-panel tabbed file manager (GTK3 version)"
replaces="spacefm"
- cd "$_builddir"
+ cd "$builddir"
make clean || return 1
./configure --prefix=/usr \
@@ -50,7 +56,7 @@ doc3() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
}