initial import
This commit is contained in:
24
python-xattr/PKGBUILD
Normal file
24
python-xattr/PKGBUILD
Normal file
@@ -0,0 +1,24 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=python-xattr
|
||||
pkgver=0.9.7
|
||||
pkgrel=1
|
||||
pkgdesc='Python wrapper for extended filesystem attributes'
|
||||
arch=('i686' 'x86_64')
|
||||
license=('Expat')
|
||||
url='https://github.com/xattr/xattr'
|
||||
depends=('python-cffi' 'python-setuptools')
|
||||
makedepends=('python-setuptools' 'python-cffi')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/xattr/xattr/archive/v$pkgver.tar.gz")
|
||||
sha512sums=('4d94e929057a39c0f332e24aee1c2883580c71df94c9041313d4af2f11885803ab2c007546d5510ed647abcc70804e2fbaecf38f84d0a8457129c1336e5c8874')
|
||||
|
||||
build() {
|
||||
cd "$srcdir"/xattr-$pkgver
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd xattr-$pkgver
|
||||
python setup.py install --root="$pkgdir" --optimize=1
|
||||
install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
}
|
||||
Reference in New Issue
Block a user