summaryrefslogtreecommitdiff
path: root/system/xz
diff options
context:
space:
mode:
Diffstat (limited to 'system/xz')
-rw-r--r--system/xz/APKBUILD12
-rw-r--r--system/xz/dont-use-libdir-for-pkgconfig.patch8
2 files changed, 8 insertions, 12 deletions
diff --git a/system/xz/APKBUILD b/system/xz/APKBUILD
index 253d3194c..0b52b0f85 100644
--- a/system/xz/APKBUILD
+++ b/system/xz/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=xz
-pkgver=5.2.4
-pkgrel=1
+pkgver=5.4.2
+pkgrel=0
pkgdesc="Library and command line tools for XZ and LZMA compressed files"
url="https://tukaani.org/xz/"
arch="all"
@@ -15,7 +15,6 @@ source="https://tukaani.org/xz/xz-$pkgver.tar.gz
"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -30,14 +29,11 @@ build() {
sed 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
-i libtool
- sed 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
- -i libtool
make
}
check() {
- cd "$builddir"
make check
}
@@ -47,5 +43,5 @@ package() {
"$pkgdir"/usr/share/licenses/$pkgname
}
-sha512sums="e5bf6eb88365d2dbdc774db49261fb9fae0544ed297891fc20f1ed223f4072cb0357cbd98146ac35b6d29410a12b6739bbd111cd57d4a225bef255ed46988578 xz-5.2.4.tar.gz
-9310ae2568dd6ac474e3cb9895e1339ca2dbe8834f856edbb7d2264c0019bde4bbd94aa1edd34e5c8d0aed1f35a1877b0e053ed08a270835ea81e59c7be5edb3 dont-use-libdir-for-pkgconfig.patch"
+sha512sums="149f980338bea3d66de1ff5994b2b236ae1773135eda68b62b009df0c9dcdf5467f8cb2c06da95a71b6556d60bd3d21f475feced34d5dfdb80ee95416a2f9737 xz-5.4.2.tar.gz
+54bbe1f8aae954d2550941f69a509e210d0f6bee2393494dcf445a14d14046953c125177b4cc9fa79ec55b81379dfe4ae0187f106abd2f3cc4331782a5c0b4fd dont-use-libdir-for-pkgconfig.patch"
diff --git a/system/xz/dont-use-libdir-for-pkgconfig.patch b/system/xz/dont-use-libdir-for-pkgconfig.patch
index dbf4d5927..c6b1c480c 100644
--- a/system/xz/dont-use-libdir-for-pkgconfig.patch
+++ b/system/xz/dont-use-libdir-for-pkgconfig.patch
@@ -1,6 +1,6 @@
--- xz-5.2.4/src/liblzma/Makefile.am.old 2018-04-29 15:16:04.000000000 +0000
+++ xz-5.2.4/src/liblzma/Makefile.am 2018-07-19 02:18:19.010000000 +0000
-@@ -97,7 +97,7 @@
+@@ -101,7 +101,7 @@
## pkg-config
@@ -11,10 +11,10 @@
--- xz-5.2.4/src/liblzma/Makefile.in.old 2018-04-29 16:01:26.000000000 +0000
+++ xz-5.2.4/src/liblzma/Makefile.in 2018-07-19 02:18:33.600000000 +0000
-@@ -752,7 +752,7 @@
+@@ -879,7 +879,7 @@
- liblzma_la_LDFLAGS = -no-undefined -version-info 7:4:2 $(am__append_1) \
- $(am__append_42)
+ liblzma_la_LDFLAGS = -no-undefined -version-info 9:2:4 $(am__append_1) \
+ $(am__append_2) $(am__append_48)
-pkgconfigdir = $(libdir)/pkgconfig
+pkgconfigdir = /usr/lib/pkgconfig
pkgconfig_DATA = liblzma.pc