summaryrefslogtreecommitdiff
path: root/core/tzdata/MAKEPKG
blob: 0ac79acd42d3a6c92ddd921cf32e8de4d5c36f14 (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
#!/bin/mkpkg
# description: Time Zone and Daylight Saving Time Data
# url: https://data.iana.org/time-zones/tz-link.html

name=tzdata
version=2026d
release=1
makedeps=(bash)
source=(https://data.iana.org/time-zones/releases/tzcode${version}.tar.gz
        https://data.iana.org/time-zones/releases/tzdata${version}.tar.gz)
sha256sums=(
    "2f5c9f7fe29e6b8cb863583667884b8ce17b0a485355a054b591c6bdfcd81791"
    "0cb2aa8e333c3dc049badc42a0c61f21987b8cd44e107fa900bad764aacc7767"
)

build() {
    export SHELL=/bin/bash

    make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
    make DESTDIR=$PKG BINDIR=/bin ZICDIR=/sbin install
    
    # Remove man pages and /etc/localtime
    rm -rf $PKG/usr/share/man
    rm -rf $PKG/etc
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh