[arch-commits] Commit in pixz/trunk (PKGBUILD)

Jonathan Steel jsteel at archlinux.org
Mon Sep 7 18:58:58 UTC 2015


    Date: Monday, September 7, 2015 @ 20:58:58
  Author: jsteel
Revision: 139514

upgpkg: pixz 1.0.3-1

Modified:
  pixz/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-07 18:40:36 UTC (rev 139513)
+++ PKGBUILD	2015-09-07 18:58:58 UTC (rev 139514)
@@ -2,8 +2,8 @@
 # Contributor: Christian Krause ("wookietreiber") <kizkizzbangbang at googlemail.com>
 
 pkgname=pixz
-pkgver=1.0.2
-pkgrel=2
+pkgver=1.0.3
+pkgrel=1
 pkgdesc="Parallel, indexed xz compressor"
 arch=('i686' 'x86_64')
 url="https://github.com/vasi/pixz"
@@ -11,25 +11,22 @@
 depends=('libarchive')
 makedepends=('asciidoc')
 source=($pkgname-$pkgver.tar.gz::https://github.com/vasi/pixz/archive/v$pkgver.tar.gz)
-md5sums=('4c6023362d5f9d48939cc4f55daaaeb0')
+md5sums=('d1abe040e91cb32eccf360f255218a45')
 
 build() {
-  cd "$srcdir"/$pkgname-$pkgver
+  cd $pkgname-$pkgver
 
-  # fix missing -lm
-  sed -i 's/-llzma/-lm -llzma/' Makefile
+  ./autogen.sh
 
+  ./configure --prefix=/usr
+
   make
-
-  # generate manpage
-  a2x --doctype manpage --format manpage pixz.1.asciidoc
 }
 
 package() {
-  cd "$srcdir"/$pkgname-$pkgver
+  cd $pkgname-$pkgver
 
-  install -Dm 755 pixz   "$pkgdir"/usr/bin/pixz
-  install -Dm 644 pixz.1 "$pkgdir"/usr/share/man/man1/pixz.1
+  make DESTDIR="$pkgdir" install
 
   install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE \
     "$pkgdir"/usr/share/licenses/$pkgname/LICENSE



More information about the arch-commits mailing list