summaryrefslogtreecommitdiff
path: root/community/lrzip
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-21 00:01:20 +0000
committerroot <root@rshg054.dnsready.net>2012-03-21 00:01:20 +0000
commita3108a9a809c496e1f6a0e9caf0acebac3889bfb (patch)
treedf7be9bed47b2d4a4f0ae33d40a406a775a5d1e7 /community/lrzip
parent99136e3a2e9f6f07a7ff08d5721bce354b853c8b (diff)
Wed Mar 21 00:01:20 UTC 2012
Diffstat (limited to 'community/lrzip')
-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..b6674b0e1
--- /dev/null
+++ b/community/lrzip/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 68229 2012-03-19 18:33:11Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: graysky <graysky AT archlinux DOT us>
+# Contributor: kastor@fobos.org.ar
+
+pkgname=lrzip
+pkgver=0.612
+pkgrel=2
+pkgdesc="Multi-threaded compression using the rzip/lzma, lzo, and zpaq algorithms"
+url="http://lrzip.kolivas.org/"
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('lzo2' 'bzip2' 'zlib' 'bash' 'gcc-libs')
+if [ "$CARCH" != "x86_64" ]
+then
+ depends+=('nasm')
+ _flag="--enable-asm"
+fi
+options=('!libtool')
+source=("http://ck.kolivas.org/apps/$pkgname/$pkgname-$pkgver.tar.bz2")
+sha256sums=('2c309fb40766207f1deeb09e2431ae34db7e6d7a22d713c25efcc84ed8c52e97')
+
+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: