mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
20 lines
663 B
Bash
20 lines
663 B
Bash
# Maintainer: Étienne Deparis <etienne [at] depar.is>
|
|
|
|
pkgname=python2-tzlocal
|
|
_pkgname=tzlocal
|
|
pkgver=1.1.3
|
|
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.tar.gz")
|
|
sha256sums=('1950d112ed1b717683280d54f1e7a4533564d479127162cbf247bd0fb3708983')
|
|
|
|
package() {
|
|
cd "${_pkgname}-$pkgver"
|
|
python2 setup.py install --root="$pkgdir"
|
|
install -D -m0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|