[arch-commits] Commit in (3 files)
Antonio Rojas
arojas at archlinux.org
Fri Mar 25 21:59:38 UTC 2016
Date: Friday, March 25, 2016 @ 22:59:37
Author: arojas
Revision: 168399
Add python-pkgconfig, new sagemath dependency
Added:
python-pkgconfig/
python-pkgconfig/trunk/
python-pkgconfig/trunk/PKGBUILD
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Added: python-pkgconfig/trunk/PKGBUILD
===================================================================
--- python-pkgconfig/trunk/PKGBUILD (rev 0)
+++ python-pkgconfig/trunk/PKGBUILD 2016-03-25 21:59:37 UTC (rev 168399)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgbase=python-pkgconfig
+pkgname=(python2-pkgconfig python-pkgconfig)
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Python module to interface with the pkg-config command line tool"
+arch=(any)
+url="https://github.com/matze/pkgconfig"
+license=(MIT)
+makedepends=(python-setuptools python2-setuptools)
+source=("https://github.com/matze/pkgconfig/archive/v$pkgver.tar.gz")
+md5sums=('4eaacf9931965852f9a16a3e0cb12407')
+
+package_python2-pkgconfig() {
+ depends=(python2)
+ cd pkgconfig-$pkgver
+
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python-pkgconfig() {
+ depends=(python)
+ cd pkgconfig-$pkgver
+
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
Property changes on: python-pkgconfig/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list