PKGBUILDs/aur/python2-apscheduler/PKGBUILD

30 lines
1 KiB
Bash
Raw Normal View History

2015-04-24 01:48:28 +00:00
# Maintainer: Yaron de Leeuw < me@jarondl.net >
# Maintained at : https://github.com/jarondl/aur-pkgbuilds-jarondl
2015-04-24 01:48:28 +00:00
# Contributor: Shanto <shanto@hotmail.com>
pkgname=python2-apscheduler
_pkgname=APScheduler
2015-05-25 15:40:51 +00:00
pkgver=3.0.3
pkgrel=1
2015-04-24 01:48:28 +00:00
pkgdesc="In-process task scheduler with Cron-like capabilities"
arch=('any')
url="https://pypi.python.org/pypi/APScheduler"
license=('MIT')
depends=('python2'
'python2-pytz'
'python2-tzlocal'
'python2-futures'
'python2-six'
'python2-setuptools'
)
2015-04-24 01:48:28 +00:00
source=("https://pypi.python.org/packages/source/A/APScheduler/APScheduler-$pkgver.tar.gz"
"https://bitbucket.org/agronholm/apscheduler/raw/master/LICENSE.txt")
2015-05-25 15:40:51 +00:00
sha256sums=('cb22f71682cfcd21d0cb95487756da6870f751cc86014748075dfbda858e88b9'
2015-04-24 01:48:28 +00:00
'6163f7987dfb38d6bc320ce2b70b2f02b862bc41126516d552ef1cd43247e758')
package() {
cd "$srcdir/$_pkgname-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
2015-04-24 01:48:28 +00:00
install -D -m644 ../LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}