summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 25f99470f982c4f90079e31f2ffe44a156338e29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Maintainer: Chris Down <chris@chrisdown.name>

pkgname=tzupdate
pkgver=1.2.0
pkgrel=1
pkgdesc='Set the system timezone based on IP geolocation'
url=http://github.com/cdown/tzupdate
arch=(any)
license=('Public Domain')
depends=(python python-requests python-setuptools)
source=("https://github.com/cdown/tzupdate/archive/${pkgver}.zip")
md5sums=('7f5d343a27bc4dd900ddd0f4cfa7216b')

package() {
    cd "${srcdir?}/$pkgname-$pkgver" || return 1
    python setup.py install --root="${pkgdir?}"
}