summaryrefslogtreecommitdiffstats
path: root/testing/scons/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/scons/APKBUILD')
-rw-r--r--testing/scons/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/testing/scons/APKBUILD b/testing/scons/APKBUILD
index ef188177b..5aa6abd18 100644
--- a/testing/scons/APKBUILD
+++ b/testing/scons/APKBUILD
@@ -1,22 +1,26 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=scons
-pkgver=2.0.1
+pkgver=2.1.0
pkgrel=1
pkgdesc="scons software construction system"
url="http://www.scons.org/"
+arch="noarch"
license="MIT"
depends="python"
makedepends="python-dev"
install=
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
-arch="noarch"
-
_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
package() {
cd "$_builddir"
- python setup.py install --root="$pkgdir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
-md5sums="beca648b894cdbf85383fffc79516d18 scons-2.0.1.tar.gz"
+md5sums="47daf989e303a045b76c11236df719df scons-2.1.0.tar.gz"