blob: 7a5c11ba11ce941d659b7927139a6b63c1db9643 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Alex O'Neill <me@aoneill.me>
_pkgname=tzme
pkgname=${_pkgname}-git
pkgver=r5.33f19a7
pkgrel=1
pkgdesc="Timezone updates based on location"
arch=('any')
url="https://github.com/alexoneill/tzme"
license=('MIT')
depends=('curl' 'libsystemd' 'libxml2')
makedepends=('git')
provides=("${_pkgname}")
source=("${_pkgname}::git+https://github.com/alexoneill/${_pkgname}.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${_pkgname}"
make
}
package() {
cd "$srcdir/${_pkgname}"
make PREFIX="$pkgdir/usr" install
}
|