[arch-commits] Commit in python-pkgconfig/repos (2 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sun Dec 25 17:29:44 UTC 2016
Date: Sunday, December 25, 2016 @ 17:29:44
Author: bpiotrowski
Revision: 202099
archrelease: copy trunk to community-staging-any
Added:
python-pkgconfig/repos/community-staging-any/
python-pkgconfig/repos/community-staging-any/PKGBUILD
(from rev 202098, python-pkgconfig/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-pkgconfig/repos/community-staging-any/PKGBUILD (from rev 202098, python-pkgconfig/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2016-12-25 17:29:44 UTC (rev 202099)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgbase=python-pkgconfig
+pkgname=(python2-pkgconfig python-pkgconfig)
+pkgver=1.2.2
+pkgrel=2
+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=('7d724d6b5653f9caef2cb785ee16ff85')
+
+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
+}
More information about the arch-commits
mailing list