[arch-commits] Commit in (4 files)

Andrea Scarpino andrea at archlinux.org
Fri Jan 21 00:46:34 UTC 2011


    Date: Thursday, January 20, 2011 @ 19:46:34
  Author: andrea
Revision: 107071

move python-sip in a new dir

Added:
  python-sip/
  python-sip/repos/
  python-sip/trunk/
  python-sip/trunk/PKGBUILD

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

Added: python-sip/trunk/PKGBUILD
===================================================================
--- python-sip/trunk/PKGBUILD	                        (rev 0)
+++ python-sip/trunk/PKGBUILD	2011-01-21 00:46:34 UTC (rev 107071)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=python-sip
+pkgver=4.12
+pkgrel=4
+arch=('i686' 'x86_64')
+url="http://www.riverbankcomputing.com/software/sip/"
+license=('custom:"sip"')
+pkgdesc="A tool that makes it easy to create Python 3 bindings for C and C++ libraries"
+depends=('python2-sip' 'python')
+source=("http://www.riverbankcomputing.com/static/Downloads/sip4/sip-${pkgver}.tar.gz")
+md5sums=('8a0998fbaf34bdab2c15af3d4fa3bc0e')
+
+build() {
+  cd "${srcdir}/sip-${pkgver}"
+
+  python configure.py CFLAGS="${CFLAGS}" LFLAGS="${LDFLAGS}"
+  make
+}
+
+package() {
+  cd "${srcdir}/sip-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  
+  # Provided by python2-sip package
+  rm "${pkgdir}/usr/bin/sip"
+}


Property changes on: python-sip/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id




More information about the arch-commits mailing list