1 # Contributor: Abdallah Aly <l3thal8 @gmail. com>
6 pkgdesc="libzip is a C library for reading, creating, and modifying zip archives"
8 url="http://nih.at/libzip"
12 makedepends=('mercurial' 'cmake')
15 md5sums=() #generate with 'makepkg -g'
17 _hgroot='http://hg.nih.at/'
21 cd "$srcdir/$pkgname-$pkgver"
24 # update the repo, else clone a new one
25 if [ -d $_hgrepo ]; then
30 hg clone ${_hgroot}/${_hgrepo}
34 # export CMAKE_PREFIX_PATH=/usr
36 -DCMAKE_INSTALL_PREFIX=/usr || return 1
38 make DESTDIR="$pkgdir/" install
39 # mv $pkgdir/usr/local/* $pkgdir/usr/