diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e12b49f6e4cf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Infernio <infernio at icloud dot com> +# Contributor: Antonio Rojas <arojas@archlinux.org> + +pkgname=python2-pkgconfig +pkgver=1.5.1 +pkgrel=4 +pkgdesc="Python 2 module to interface with the pkg-config command line tool" +arch=(any) +url="https://github.com/matze/pkgconfig" +license=(MIT) +depends=(python2) +makedepends=(python2-setuptools) +source=("https://pypi.io/packages/source/p/pkgconfig/pkgconfig-$pkgver.tar.gz") +sha256sums=('97bfe3d981bab675d5ea3ef259045d7919c93897db7d3b59d4e8593cba8d354f') + +package() { + cd pkgconfig-$pkgver + + python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} |