[arch-commits] Commit in python2-sip/trunk (PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Fri Jan 21 00:28:08 UTC 2011
Date: Thursday, January 20, 2011 @ 19:28:08
Author: andrea
Revision: 107060
upgpkg: python2-sip 4.12-4
merge the sip package here to avoid python-sip dependence
Modified:
python2-sip/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-01-20 23:46:32 UTC (rev 107059)
+++ PKGBUILD 2011-01-21 00:28:08 UTC (rev 107060)
@@ -5,26 +5,26 @@
pkgname=python2-sip
pkgver=4.12
-pkgrel=2
+pkgrel=4
pkgdesc="A tool that makes it easy to create Python 2 bindings for C and C++ libraries"
arch=('i686' 'x86_64')
url="http://www.riverbankcomputing.com/software/sip/"
license=('custom:"sip"')
-depends=('sip' 'python2')
+depends=('python2')
+replaces=('sip')
source=("http://www.riverbankcomputing.com/static/Downloads/sip4/sip-${pkgver}.tar.gz")
md5sums=('8a0998fbaf34bdab2c15af3d4fa3bc0e')
build() {
- cd ${srcdir}/sip-${pkgver}
+ cd "${srcdir}/sip-${pkgver}"
python2 configure.py CFLAGS="${CFLAGS}" LFLAGS="${LDFLAGS}"
make
}
package() {
- cd ${srcdir}/sip-${pkgver}
- make DESTDIR=${pkgdir} install
+ cd "${srcdir}/sip-${pkgver}"
+ make DESTDIR="${pkgdir}" install
- # Provided by sip package
- rm ${pkgdir}/usr/bin/sip
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
More information about the arch-commits
mailing list