[arch-commits] Commit in tzdata/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sun Sep 22 17:07:30 UTC 2019
Date: Sunday, September 22, 2019 @ 17:07:30
Author: jelle
Revision: 363251
upgpkg: tzdata 2019c-2
Make zic/zdump enable 'full relro' and install the custom license to resolve
the namcap warning.
Modified:
tzdata/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-22 15:54:08 UTC (rev 363250)
+++ PKGBUILD 2019-09-22 17:07:30 UTC (rev 363251)
@@ -4,7 +4,7 @@
pkgver=2019c
_tzcode=2019c
_tzdata=2019c
-pkgrel=1
+pkgrel=2
pkgdesc="Sources for time zone and daylight saving time data"
arch=('x86_64')
url="https://www.iana.org/time-zones"
@@ -29,7 +29,7 @@
}
build() {
- make
+ make LFLAGS=${LDFLAGS}
}
package() {
@@ -47,4 +47,7 @@
# cleanup
rm "${pkgdir}/etc/localtime"
+
+ # install license
+ install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
More information about the arch-commits
mailing list