PKGBUILDs/aur/python2-tzlocal/PKGBUILD

21 lines
663 B
Bash
Raw Normal View History

# Maintainer: Étienne Deparis <etienne [at] depar.is>
pkgname=python2-tzlocal
_pkgname=tzlocal
2015-04-24 01:48:28 +00:00
pkgver=1.1.3
pkgrel=1
pkgdesc="Python2 version for tzinfo object for the local timezone"
arch=('any')
2014-12-06 17:11:50 +00:00
url='https://pypi.python.org/pypi/tzlocal'
license=('custom')
depends=('python2-pytz')
makedepends=('python2-setuptools')
2015-04-24 01:48:28 +00:00
source=("https://pypi.python.org/packages/source/t/${_pkgname}/${_pkgname}-$pkgver.tar.gz")
sha256sums=('1950d112ed1b717683280d54f1e7a4533564d479127162cbf247bd0fb3708983')
package() {
cd "${_pkgname}-$pkgver"
python2 setup.py install --root="$pkgdir"
2014-12-06 17:11:50 +00:00
install -D -m0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}