54 lines
1.6 KiB
Diff
54 lines
1.6 KiB
Diff
--- PKGBUILD-arch 2024-03-09 23:42:49.226236620 +0200
|
|
+++ PKGBUILD-arch.new 2024-03-29 12:57:14.676640550 +0200
|
|
@@ -3,23 +3,28 @@
|
|
|
|
pkgname=xz
|
|
pkgver=5.6.1
|
|
-pkgrel=1
|
|
+pkgrel=2
|
|
pkgdesc='Library and command line tools for XZ and LZMA compressed files'
|
|
arch=('x86_64')
|
|
url='https://xz.tukaani.org/xz-utils/'
|
|
license=('GPL' 'LGPL' 'custom')
|
|
depends=('sh')
|
|
+makedepends=('git' 'po4a' 'doxygen')
|
|
provides=('liblzma.so')
|
|
validpgpkeys=('3690C240CE51B4670D30AD1C38EE757D69184620' # Lasse Collin <lasse.collin@tukaani.org>
|
|
'22D465F2B4C173803B20C6DE59FCF207FEA7F445') # Jia Tan <jiat0218@gmail.com>
|
|
-source=("https://github.com/tukaani-project/xz/releases/download/v${pkgver}/xz-${pkgver}.tar.gz"{,.sig})
|
|
-sha256sums=('2398f4a8e53345325f44bdd9f0cc7401bd9025d736c6d43b372f4dea77bf75b8'
|
|
- 'SKIP')
|
|
-sha512sums=('8af100eb83288f032e4813be2bf8de7d733c8761f77f078776c1391709241ad8fe3192d107664786e2543677915c5eeb3fe7add5c53b48b50c10a9de7c9f4fda'
|
|
- 'SKIP')
|
|
+source=("git+https://github.com/tukaani-project/xz#tag=v${pkgver}")
|
|
+sha256sums=('e10fa4254d5ff033c78dcbfd2866e79a762b8a719503a7c146758e590de945dc')
|
|
+sha512sums=('8f4ee2e5c9b46d0917d8bdf8b172a70d02a6cf2d4d78a2e99ae942e32979b72b407809ffda2885af41e2c9d801c19eab5e4fd73888fbaf042346be957df406fc')
|
|
+
|
|
+prepare() {
|
|
+ cd ${pkgname}
|
|
+
|
|
+ ./autogen.sh
|
|
+}
|
|
|
|
build() {
|
|
- cd "${srcdir}/${pkgname}-${pkgver}"
|
|
+ cd ${pkgname}
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
@@ -29,13 +34,13 @@
|
|
}
|
|
|
|
check() {
|
|
- cd "${srcdir}/${pkgname}-${pkgver}"
|
|
+ cd ${pkgname}
|
|
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
- cd "${srcdir}/${pkgname}-${pkgver}"
|
|
+ cd ${pkgname}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|