-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathPKGBUILD
25 lines (21 loc) · 763 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
pkgbase=python-cron-descriptor
pkgname=('python-cron-descriptor' 'python2-cron-descriptor')
projname=cron-descriptor
pkgver=1.2.9
pkgrel=1
pkgdesc="A Python library that converts cron expressions into human readable strings."
arch=('any')
license=('MIT')
url='https://github.com/Salamek/cron-descriptor'
source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/Salamek/${projname}/archive/$pkgver.tar.gz")
md5sums=('74260e2519e76331950b742700cf9821')
package_python-cron-descriptor() {
depends=('python')
cd "${srcdir}/${projname}-${pkgver}"
python3 setup.py install --root=$pkgdir/ --optimize=1
}
package_python2-cron-descriptor() {
depends=('python2')
cd "${srcdir}/${projname}-${pkgver}"
python2 setup.py install --root=$pkgdir/ --optimize=1
}