You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PKGBUILD 746B

123456789101112131415161718192021222324252627282930313233
  1. pkgname=libunarr-git
  2. pkgver=r189.91c3eb5
  3. pkgrel=2
  4. arch=('i686' 'x86_64')
  5. url="https://github.com/zeniko/unarr"
  6. pkgdesc=('A lightweight decompression library with support for rar, tar and zip archives.')
  7. source=('git+https://github.com/zeniko/unarr'
  8. 'https://raw.githubusercontent.com/selmf/unarr/master/CMakeLists.txt'
  9. )
  10. makedepends=('cmake' 'git')
  11. pkgver() {
  12. cd "${srcdir}/unarr"
  13. printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  14. }
  15. prepare() {
  16. cd "${srcdir}/unarr"
  17. cp ../CMakeLists.txt .
  18. }
  19. build() {
  20. cd "${srcdir}/unarr"
  21. cmake ./ -DCMAKE_INSTALL_PREFIX=/usr
  22. make
  23. }
  24. package() {
  25. cd "${srcdir}/unarr"
  26. make DESTDIR=$pkgdir install
  27. }
  28. md5sums=('SKIP'
  29. '056fd95cfab5889c591f1ee53d389a97')