[arch-commits] Commit in python-pkgconfig/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 16:35:51 UTC 2019
Date: Friday, October 25, 2019 @ 16:35:50
Author: felixonmars
Revision: 519487
archrelease: copy trunk to community-staging-any
Added:
python-pkgconfig/repos/community-staging-any/
python-pkgconfig/repos/community-staging-any/PKGBUILD
(from rev 519485, python-pkgconfig/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-pkgconfig/repos/community-staging-any/PKGBUILD (from rev 519485, python-pkgconfig/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 16:35:50 UTC (rev 519487)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgbase=python-pkgconfig
+pkgname=(python2-pkgconfig python-pkgconfig)
+pkgver=1.5.1
+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://pypi.io/packages/source/p/pkgconfig/pkgconfig-$pkgver.tar.gz")
+sha256sums=('97bfe3d981bab675d5ea3ef259045d7919c93897db7d3b59d4e8593cba8d354f')
+
+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