diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-23 22:07:04 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-23 22:08:59 +0000 |
commit | c779bdaa2c845db57c88697cb4e1345ffd304f28 (patch) | |
tree | 9d4cbbe9a00aada0b2760e2d7435b4d5ba844d80 | |
parent | 1fc6e8628c639192e744ece0ff1297c6e891d59c (diff) | |
download | packages-c779bdaa2c845db57c88697cb4e1345ffd304f28.tar.gz packages-c779bdaa2c845db57c88697cb4e1345ffd304f28.tar.bz2 packages-c779bdaa2c845db57c88697cb4e1345ffd304f28.tar.xz packages-c779bdaa2c845db57c88697cb4e1345ffd304f28.zip |
user/scons: new package
-rw-r--r-- | user/scons/APKBUILD | 33 | ||||
-rw-r--r-- | user/scons/python3-bang.patch | 8 |
2 files changed, 41 insertions, 0 deletions
diff --git a/user/scons/APKBUILD b/user/scons/APKBUILD new file mode 100644 index 000000000..c3ebf5694 --- /dev/null +++ b/user/scons/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=scons +pkgver=3.0.4 +pkgrel=0 +pkgdesc="Python-based software building system" +url="https://scons.org/" +arch="noarch" +license="MIT" +depends="python3" +makedepends="python3-dev" +subpackages="" +source="https://prdownloads.sourceforge.net/scons/scons-$pkgver.tar.gz + python3-bang.patch + " + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="064a604939460fa85aa247776e5a2083ce98cac5f49f6035886d207f5cf167255756ee10cc00dd8228278d0d1efbed2afd8793bf3ca736a3ac970fabc3c4b627 scons-3.0.4.tar.gz +cb8be26f0d8cae7974dffcb3008c67254e8904bb8bb91f9732dd01a9942e33d57527101ec4104a866061096b991a336d00b344da48cf835489fc5d26fb1f331e python3-bang.patch" diff --git a/user/scons/python3-bang.patch b/user/scons/python3-bang.patch new file mode 100644 index 000000000..e902e7418 --- /dev/null +++ b/user/scons/python3-bang.patch @@ -0,0 +1,8 @@ +--- scons-3.0.4/script/scons.old 2019-01-23 17:30:36.000000000 +0000 ++++ scons-3.0.4/script/scons 2019-01-23 22:08:17.600000000 +0000 +@@ -1,4 +1,4 @@ +-#! /usr/bin/env python ++#! /usr/bin/env python3 + # + # SCons - a Software Constructor + # |