From a7011e8b84283158a756e33ff36db5e9d3eb6f3a Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Thu, 2 Dec 2010 03:48:04 +0000 Subject: scons: initial include for fceu --- abs/extra/scons/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 abs/extra/scons/PKGBUILD diff --git a/abs/extra/scons/PKGBUILD b/abs/extra/scons/PKGBUILD new file mode 100644 index 0000000..edc4fbc --- /dev/null +++ b/abs/extra/scons/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 90304 2010-09-10 14:41:36Z schiv $ +# Maintainer: Ray Rashif +# Contributor: damir +# Contributor: Lukas Sabota +# Contributor: Brice Carpentier + +pkgname=scons +pkgver=2.0.1 +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=('beca648b894cdbf85383fffc79516d18') + +build() { + 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 -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: + -- cgit v0.12