diff options
Diffstat (limited to 'libre/python2-libre/SRCBUILD')
-rw-r--r-- | libre/python2-libre/SRCBUILD | 36 |
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} + +} |