[arch-commits] Commit in scons/repos (testing-any testing-any/PKGBUILD)

Ray Rashif schiv at archlinux.org
Wed Aug 8 18:49:28 UTC 2012


    Date: Wednesday, August 8, 2012 @ 14:49:27
  Author: schiv
Revision: 165008

archrelease: copy trunk to testing-any

Added:
  scons/repos/testing-any/
  scons/repos/testing-any/PKGBUILD
    (from rev 165007, scons/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: scons/repos/testing-any/PKGBUILD (from rev 165007, scons/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2012-08-08 18:49:27 UTC (rev 165008)
@@ -0,0 +1,35 @@
+# $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>
+
+pkgname=scons
+pkgver=2.2.0
+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=('f737f474a02d08156c821bd2d4d4b632')
+
+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