blob: 9fb19893cdc23cfa8ac25903de8d6fe30f9f0bf5 (
plain)
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
26
27
|
# Maintainer: Łukasz Pożarlik <lpozarlik@gmail.com>
pkgname=('python-django-crontab')
pkgdesc="Dead simple crontab powered job scheduling for django"
pkgver=0.7.1
pkgrel=6
url="https://github.com/kraiz/django-crontab"
license=('MIT')
arch=('any')
makedepends=('python'
'python-setuptools')
depends=('python-django')
source=("https://github.com/kraiz/django-crontab/archive/${pkgver}.tar.gz")
sha256sums=('71c86470a90ce1f7a27a978b5348f44e41280748e894da631d1ddf402cbe4998')
build() {
cd ${srcdir}/django-crontab-${pkgver}
python setup.py build
}
package_python-django-crontab() {
cd ${srcdir}/django-crontab-${pkgver}
python setup.py install --prefix=/usr --root=${pkgdir}
install -D --mode 644 --target-directory "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
# vim:set ts=2 sw=2 et:
|