summaryrefslogtreecommitdiff
path: root/libre/python2-libre/SRCBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-12-13 17:51:38 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-12-13 17:51:38 -0300
commit079a1c74633eb49cb86f747fa0d6dcee8259dfe3 (patch)
treec6f454d8e35b14b968bfdbcc845f631764ecccff /libre/python2-libre/SRCBUILD
parentf1d284bb22ee25d272d0430a377e5e8e10eed5c6 (diff)
libre/python2-libre-2.7.2-4
Diffstat (limited to 'libre/python2-libre/SRCBUILD')
-rw-r--r--libre/python2-libre/SRCBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/libre/python2-libre/SRCBUILD b/libre/python2-libre/SRCBUILD
new file mode 100644
index 000000000..f021d6624
--- /dev/null
+++ b/libre/python2-libre/SRCBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 123066 2011-05-07 23:01:49Z stephane $
+# Maintainer: AndyRTR <andyrtr@archlinux.org>
+# Maintainer (Parabola): xihh
+
+pkgname=python2-libre
+pkgver=2.7.2
+pkgrel=4
+pkgdesc="A high-level scripting language"
+arch=('any')
+license=('PSF')
+url="http://www.python.org/"
+source=(http://www.python.org/ftp/python/${pkgver%rc?}/Python-${pkgver}.tar.xz
+ doc_license_change.patch
+ WDAS.patch)
+md5sums=('75c87a80c6ddb0b785a57ea3583e04fa'
+ '1e6595f85a1da7f42b69456119924d50'
+ '3f8c0e310a0be0bd8b319d6c46bbd427')
+options=(!strip docs libtool emptydirs !zipman !purge)
+
+build() {
+ cd "${srcdir}/Python-${pkgver}"
+
+ export PKGEXT=.src.tar.xz
+
+ patch -Np1 -i ../WDAS.patch
+ patch -Np0 -i ../doc_license_change.patch
+
+}
+
+package() {
+ export PKGEXT=.src.tar.xz
+ export PKGDEST=${startdir}
+
+ mv "${srcdir}/Python-${pkgver}" ${pkgdir}
+
+}