summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1a6ed3d464c58f776e55a007ee7e899434cb0a98 (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=0.5.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=('44477a9a522c7eb18b4beddef973418c')

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