mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
31 lines
850 B
Bash
31 lines
850 B
Bash
pkgbase=pylibacl
|
|
pkgname=('python2-pylibacl' 'python3-pylibacl')
|
|
pkgver=0.5.3
|
|
pkgrel=1
|
|
pkgdesc='A python extension module that allows you to manipulate the POSIX.1e ACLs.'
|
|
arch=('x86_64')
|
|
url='http://pylibacl.k1024.org/'
|
|
license=('GPL')
|
|
makedepends=('python2' 'python2-setuptools' 'python3' 'python3-setuptools')
|
|
source=("http://${pkgbase}.k1024.org/downloads/${pkgbase}-${pkgver}.tar.gz")
|
|
md5sums=('5d161e22ba5d94618d50ccffbfeb6050')
|
|
|
|
prepare() {
|
|
cd $srcdir
|
|
cp -r $pkgbase-$pkgver python3-$pkgbase-$pkgver
|
|
}
|
|
|
|
package_python2-pylibacl() {
|
|
depends=('python2')
|
|
conflicts=('pylibacl')
|
|
cd "${srcdir}/${pkgbase}-${pkgver}"
|
|
python2 setup.py install --root="${pkgdir}"
|
|
}
|
|
|
|
package_python3-pylibacl() {
|
|
depends=('python3')
|
|
conflicts=('pylibacl')
|
|
cd "${srcdir}/python3-${pkgbase}-${pkgver}"
|
|
python3 setup.py install --root="${pkgdir}"
|
|
}
|