[arch-commits] Commit in scons/repos (testing-any testing-any/PKGBUILD)
Ray Rashif
schiv at archlinux.org
Thu Jun 25 19:48:50 UTC 2015
Date: Thursday, June 25, 2015 @ 21:48:50
Author: schiv
Revision: 241280
archrelease: copy trunk to testing-any
Added:
scons/repos/testing-any/
scons/repos/testing-any/PKGBUILD
(from rev 241279, scons/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: scons/repos/testing-any/PKGBUILD (from rev 241279, scons/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2015-06-25 19:48:50 UTC (rev 241280)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+# Contributor: Lukas Sabota <punkrockguy318 at comcast.net>
+# Contributor: Brice Carpentier <brice at dlfp.org>
+
+# reminder: scons moving to py3 any time soon
+
+pkgname=scons
+pkgver=2.3.5
+pkgrel=1
+pkgdesc="Extensible Python-based build utility"
+arch=('any')
+url="http://scons.org"
+license=('MIT')
+depends=('python2')
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('a8988c7ef11133bb3b6ccf0af67ce010')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ python2 setup.py install --standard-lib \
+ --prefix=/usr \
+ --install-data=/usr/share \
+ --optimize=1 \
+ --root="$pkgdir"
+
+ # fix for python 2.7
+ sed -i 's:^#!.*bin/env python:#!/usr/bin/env python2:' \
+ "$pkgdir"/usr/bin/*
+
+ install -Dm644 LICENSE.txt \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list