aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-06 22:12:08 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-06 22:12:08 +0100
commitbe8ebfa293ae0f93c925392905e494d4a804a1b8 (patch)
treee1a6646a3f7bc143a8c319c9201911b45e8c453d
parent71bd09258733a6c5d4b74b6a80eae9e2acd04d6e (diff)
downloadaports-be8ebfa293ae0f93c925392905e494d4a804a1b8.tar.bz2
aports-be8ebfa293ae0f93c925392905e494d4a804a1b8.tar.xz
main/scons: improve abuild
-rw-r--r--main/scons/APKBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/main/scons/APKBUILD b/main/scons/APKBUILD
index 44412a0267..879644b3ac 100644
--- a/main/scons/APKBUILD
+++ b/main/scons/APKBUILD
@@ -9,17 +9,16 @@ arch="noarch"
license="MIT"
depends="python2"
makedepends="python2-dev"
-install=""
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
-_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
python2 setup.py build || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}