summaryrefslogtreecommitdiff
path: root/community/lrzip/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/lrzip/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/lrzip/PKGBUILD')
-rw-r--r--community/lrzip/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/community/lrzip/PKGBUILD b/community/lrzip/PKGBUILD
new file mode 100644
index 000000000..f3d56e6fb
--- /dev/null
+++ b/community/lrzip/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 73744 2012-07-15 12:25:29Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: graysky <graysky AT archlinux DOT us>
+# Contributor: kastor@fobos.org.ar
+
+pkgname=lrzip
+pkgver=0.614
+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=('lzo2' 'bzip2' 'zlib' 'bash' 'gcc-libs')
+if [ "$CARCH" != "x86_64" ]
+then
+ makedepends+=('nasm')
+ _flag="--enable-asm"
+fi
+options=('!libtool')
+source=("http://ck.kolivas.org/apps/$pkgname/$pkgname-$pkgver.tar.bz2")
+sha256sums=('65024d69d1773f3ccf84508a481d7de128c03d1cf9750b5803aead4a24522763')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ CFLAGS="$CFLAGS -fomit-frame-pointer"
+ CXXFLAGS="$CXXFLAGS -fomit-frame-pointer"
+ ./autogen.sh --prefix=/usr "$_flag"
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make -k check
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install-strip
+}
+
+# vim:set ts=2 sw=2 et: