mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
20 lines
660 B
Bash
20 lines
660 B
Bash
# Maintainer: Étienne Deparis <etienne [at] depar.is>
|
|
|
|
pkgname=python2-tzlocal
|
|
_pkgname=tzlocal
|
|
pkgver=1.1.2
|
|
pkgrel=1
|
|
pkgdesc="Python2 version for tzinfo object for the local timezone"
|
|
arch=('any')
|
|
url='https://pypi.python.org/pypi/tzlocal'
|
|
license=('custom')
|
|
depends=('python2-pytz')
|
|
makedepends=('python2-setuptools')
|
|
source=("https://pypi.python.org/packages/source/t/${_pkgname}/${_pkgname}-$pkgver.zip")
|
|
sha256sums=('4d9ddb8d5eab086e3a7c504c6e994ffa85df43e40da4d6be776218be051c677a')
|
|
|
|
package() {
|
|
cd "${_pkgname}-$pkgver"
|
|
python2 setup.py install --root="$pkgdir"
|
|
install -D -m0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|