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

Alexander Rødseth arodseth at archlinux.org
Tue Mar 3 21:39:31 UTC 2015


    Date: Tuesday, March 3, 2015 @ 22:39:30
  Author: arodseth
Revision: 128678

upgpkg: lrzip 0.620-1

Modified:
  lrzip/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-03 21:24:35 UTC (rev 128677)
+++ PKGBUILD	2015-03-03 21:39:30 UTC (rev 128678)
@@ -4,28 +4,29 @@
 # Contributor: kastor at fobos.org.ar
 
 pkgname=lrzip
-pkgver=0.616
-pkgrel=2
+pkgver=0.620
+pkgrel=1
 pkgdesc='Multi-threaded compression using the rzip/lzma, lzo, and zpaq algorithms'
 url='http://lrzip.kolivas.org/'
 license=('GPL')
 arch=('x86_64' 'i686')
-depends=('lzo' 'bzip2' 'zlib' 'bash' 'gcc-libs')
+depends=('lzo' 'zlib')
 source=("http://ck.kolivas.org/apps/$pkgname/$pkgname-$pkgver.tar.bz2")
-sha256sums=('982d5a8db4d8bbbced6e33fbbcd589c9b3fc4275110155d7bd71cbeff4a235ae')
+sha256sums=('4d0b8738ad4fa253bc74080c465a67fb938255fabbaf167d1213bc76b3f43486')
+makedepends_i686=('nasm')
 
-if [ "$CARCH" != "x86_64" ]
-then
-  makedepends+=('nasm')
-  _flag="--enable-asm"
-fi
-
 build() {
   cd "$pkgname-$pkgver"
 
   CFLAGS="$CFLAGS -fomit-frame-pointer"
   CXXFLAGS="$CXXFLAGS -fomit-frame-pointer"
-  ./autogen.sh --prefix=/usr "$_flag"
+
+  if [[ $CARCH != x86_64 ]]; then
+    ./autogen.sh --prefix=/usr --enable-asm
+  else
+    ./autogen.sh --prefix=/usr
+  fi
+
   make
 }
 



More information about the arch-commits mailing list