[arch-commits] Commit in (4 files)
Frederik Schwan
freswa at archlinux.org
Tue Feb 9 18:48:36 UTC 2021
Date: Tuesday, February 9, 2021 @ 18:48:36
Author: freswa
Revision: 851311
add python-wcmatch to [community]
Added:
python-wcmatch/
python-wcmatch/repos/
python-wcmatch/trunk/
python-wcmatch/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Added: python-wcmatch/trunk/PKGBUILD
===================================================================
--- python-wcmatch/trunk/PKGBUILD (rev 0)
+++ python-wcmatch/trunk/PKGBUILD 2021-02-09 18:48:36 UTC (rev 851311)
@@ -0,0 +1,24 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+
+pkgname=python-wcmatch
+pkgver=8.1
+pkgrel=1
+pkgdesc='Wilcard File Name matching library'
+arch=('any')
+url='https://github.com/facelessuser/wcmatch'
+license=('MIT')
+depends=()
+makedepends=('python-setuptools')
+source=("https://github.com/facelessuser/wcmatch/archive/${pkgver}/wcmatch-${pkgver}.tar.gz")
+b2sums=('c896c67437e28faa0accc47f2faacedfcd9baf8f3c795f4c4429eb91bc22c0e71668db58979ee81356d5ead73e244ac2d13053ef421b8e212efd3a3feadc4eae')
+
+build() {
+ cd wcmatch-${pkgver}
+ python3 setup.py build
+}
+
+package() {
+ cd wcmatch-${pkgver}
+ python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 LICENSE.md "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list