[arch-commits] Commit in python-pkgconfig/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:34:18 UTC 2020


    Date: Monday, November 9, 2020 @ 15:34:18
  Author: felixonmars
Revision: 746985

archrelease: copy trunk to community-staging-any

Added:
  python-pkgconfig/repos/community-staging-any/
  python-pkgconfig/repos/community-staging-any/PKGBUILD
    (from rev 746982, python-pkgconfig/trunk/PKGBUILD)

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

Copied: python-pkgconfig/repos/community-staging-any/PKGBUILD (from rev 746982, python-pkgconfig/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 15:34:18 UTC (rev 746985)
@@ -0,0 +1,20 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=python-pkgconfig
+pkgver=1.5.1
+pkgrel=5
+pkgdesc="Python module to interface with the pkg-config command line tool"
+arch=(any)
+url="https://github.com/matze/pkgconfig"
+license=(MIT)
+depends=(python)
+makedepends=(python-setuptools)
+source=("https://pypi.io/packages/source/p/pkgconfig/pkgconfig-$pkgver.tar.gz")
+sha256sums=('97bfe3d981bab675d5ea3ef259045d7919c93897db7d3b59d4e8593cba8d354f')
+
+package() {
+  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