1 # Maintainer: Raghavendra Prabhu 'tlonim' < raghu . prabhu13 AT gmail dot com >
6 pkgdesc="Lzma RZIP by Con Kolivas"
8 url="http://github.com/ckolivas/lrzip"
14 depends=('lzo2' 'bzip2' 'zlib')
15 [[ $CARCH == i686 ]] && depends+=('nasm')
17 _gitroot="git://github.com/ckolivas/lrzip"
23 if [ -d $_gitname ] ; then
24 (cd $_gitname && git pull origin) || warning "Git pull failed!"
26 git clone $_gitroot $_gitname
29 rm -rf $_gitname-build
30 git clone "$srcdir/$_gitname" $_gitname-build
33 # CFLAGS recommended by developer
34 CFLAGS="${CFLAGS/-O2/-O3} -fomit-frame-pointer"
35 CXXFLAGS="${CXXFLAGS/-O2/-O3} -fomit-frame-pointer"
37 if [[ $CARCH == i686 ]];then
38 ./autogen.sh --prefix=/usr --enable-asm
40 ./autogen.sh --prefix=/usr
47 cd "$srcdir/$_gitname-build"
48 make DESTDIR="$pkgdir/" install