initial import
This commit is contained in:
25
python-pathspec/PKGBUILD
Normal file
25
python-pathspec/PKGBUILD
Normal file
@@ -0,0 +1,25 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=python-pathspec
|
||||
pkgver=0.9.0
|
||||
pkgrel=2
|
||||
pkgdesc="Utility library for gitignore style pattern matching of file paths"
|
||||
arch=('any')
|
||||
url=https://github.com/cpburnz/python-path-specification
|
||||
license=('MPL-2.0')
|
||||
depends=('python')
|
||||
makedepends=('python-setuptools')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/cpburnz/python-path-specification/archive/refs/tags/v${pkgver}.tar.gz")
|
||||
sha512sums=('9484322d1abed71110cbb60214636684948aa5ff393104503798807326366ea6f71f42c06d908cc12ff210e710134155fb39e9083c4f9290d1401cce0cddc67b')
|
||||
|
||||
build() {
|
||||
cd python-pathspec-$pkgver
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd python-pathspec-$pkgver
|
||||
export PYTHONHASHSEED=0
|
||||
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
|
||||
install -Dm644 LICENSE -t $pkgdir/usr/share/licenses/$pkgname
|
||||
}
|
||||
Reference in New Issue
Block a user