summaryrefslogtreecommitdiffstats
path: root/tzdata/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'tzdata/Pkgfile')
-rw-r--r--tzdata/Pkgfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/tzdata/Pkgfile b/tzdata/Pkgfile
new file mode 100644
index 000000000..4e1b817c7
--- /dev/null
+++ b/tzdata/Pkgfile
@@ -0,0 +1,17 @@
+# Description: Sources for Time Zone and Daylight Saving Time Data
+# URL: http://www.iana.org/time-zones
+# Maintainer: IANA http://www.iana.org/
+# Packager: piernov <piernov@piernov.org>
+
+name=tzdata
+version=2012c
+release=1
+source=(http://www.iana.org/time-zones/repository/releases/$name$version.tar.gz
+ http://www.iana.org/time-zones/repository/releases/tzcode2012b.tar.gz
+ tzcode-makefile.patch)
+
+build() {
+ patch -p1 -i $SRC/tzcode-makefile.patch
+ make
+ make DESTDIR=$PKG MANDIR=$PKG/usr/share/man install
+}