Skip to content

Commit

Permalink
land/tzdb: Install zic to /usr/bin
Browse files Browse the repository at this point in the history
  • Loading branch information
lutoma committed Nov 18, 2023
1 parent 645e02f commit 56e9e19
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ RUN apk --no-cache add wget git make gcc g++ nasm m4 perl autoconf automake \
texinfo file python3 tar findutils gzip xz meson ninja sudo curl pacman \
fakeroot util-linux-misc openssh-client-default rsync nano bison flex \
qemu-img grub-bios sfdisk e2fsprogs moreutils bison flex pkgconfig gperf \
ripgrep
ripgrep tzdata-utils

# Add non-root user for makepkg
RUN adduser --disabled-password --gecos '' dev
Expand Down
6 changes: 3 additions & 3 deletions land/tz/PKGBUILD → land/tzdb/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=tzdb
pkgver=2019a
pkgrel=1
pkgrel=2
pkgdesc="The Time Zone Database (often called tz or zoneinfo) contains code and data that represent the history of local time for many representative locations around the globe."
arch=('i786')
url="https://www.iana.org/time-zones"
Expand All @@ -20,10 +20,10 @@ prepare() {

build() {
cd $pkgname-$pkgver
make CC=i786-pc-xelix-gcc
make CC=i786-pc-xelix-gcc ZICDIR=/usr/bin
}

package() {
cd $pkgname-$pkgver
make CC=i786-pc-xelix-gcc ZIC=zic DESTDIR=$pkgdir install
make CC=i786-pc-xelix-gcc ZIC=zic ZICDIR=/usr/bin DESTDIR=$pkgdir install
}
File renamed without changes.

0 comments on commit 56e9e19

Please sign in to comment.