diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 9 insertions, 15 deletions
@@ -1,29 +1,25 @@ +# Maintainer: Felix Kauselmann <licorn at gmail dot com> pkgname=libunarr-git -pkgver=r190.d1be8c4 -pkgrel=2 +pkgver=r214.65e7b2c +pkgrel=1 arch=('i686' 'x86_64') -url="https://github.com/zeniko/unarr" +url="https://github.com/selmf/unarr" license=("LGPL3") pkgdesc="A lightweight decompression library with support for rar, tar and zip archives." -source=('git+https://github.com/zeniko/unarr' - 'CMakeLists.txt' - ) +source=('git+https://github.com/selmf/unarr') makedepends=('cmake' 'git') -depends=('zlib' 'bzip2') +depends=('zlib' 'bzip2' 'xz') + +md5sums=('SKIP') pkgver() { cd "${srcdir}/unarr" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } -prepare() { - cd "${srcdir}/unarr" - cp ../CMakeLists.txt . -} - build() { cd "${srcdir}/unarr" - cmake ./ -DCMAKE_INSTALL_PREFIX=/usr + cmake ./ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR:STRING=/usr/lib make } @@ -31,5 +27,3 @@ package() { cd "${srcdir}/unarr" make DESTDIR=$pkgdir install } -md5sums=('SKIP' - '6c8ee9f142ac9b08eb43eb6faaf65594') |