26 lines
796 B
Bash
26 lines
796 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=python-pyxattr
|
|
_pkgname=pyxattr
|
|
pkgver=0.7.2
|
|
pkgrel=2
|
|
pkgdesc="A Python extension module that allows you to manipulate the extended attributes."
|
|
arch=('i686' 'x86_64')
|
|
url='https://pyxattr.k1024.org/'
|
|
license=('LGPL-2.1')
|
|
depends=('python')
|
|
makedepends=('python' 'python-setuptools')
|
|
source=("https://pyxattr.k1024.org/downloads/$_pkgname-$pkgver.tar.gz")
|
|
sha512sums=('fb9b36d5d2fb9ab674daf40d6f5c7dbe50d847dcb6d9955d270ef3aed2d8e3540f8feebd934009f47d63f3c55882846a20f7ed733b0d0c004e7a1984e7106206')
|
|
|
|
build() {
|
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
|
python setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
|
python setup.py install --root="${pkgdir}"
|
|
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname"
|
|
}
|