aboutsummaryrefslogtreecommitdiffstats
path: root/community/tzdata-timed/APKBUILD
blob: 906f60c566a425ba1396008319a46bcc60630430 (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
30
31
32
33
34
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=tzdata-timed
pkgver=2021a
_pkgver=${pkgver}+git1
pkgrel=1
pkgdesc="Data files for the time daemon, timed"
url="https://github.com/sailfishos/tzdata-timed"
arch="noarch"
license="PDDL-1.0"
depends="tzdata"
makedepends="
	bash
	perl
	cmd:pcregrep
	"
source="https://github.com/sailfishos/tzdata-timed/archive/$_pkgver/tzdata-timed-$_pkgver.tar.gz
	0001-Fixes-build-and-avoid-md5sum-mismatch-with-GMT-timez.patch
	"
options="!check" # No code to test
builddir="$srcdir/$pkgname-${_pkgver/+/-}"

build() {
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}

sha512sums="
46b6e622aa5aace3a7f8d29dae00745ecab4f343dad599809c89f42bbf2d2add1b8f851b329dce061e50af9c1065ababe91eae8994bfc8e7faf7dba2fb95aab0  tzdata-timed-2021a+git1.tar.gz
900cb15fa1975a8410b23fdcbc3256ae0e7c532a26ea24042e1686e150a97f802cdd4c317ce213b605e4c141256bb9faaa5fe696f0e2c6e38e50b47bf3bbad1a  0001-Fixes-build-and-avoid-md5sum-mismatch-with-GMT-timez.patch
"