SHARE
TWEET

rmlint-git archlinux PKGBUILD

AndreasBWagner Oct 17th, 2013 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: SahibBommelig <sahib@online.de>
  2. # rmlint PKBUILD for ArchLinux
  3.  
  4. _pkgname=rmlint
  5. pkgname=${_pkgname}-git
  6. pkgver=148.39abbb1
  7. pkgrel=2
  8. pkgdesc="Tool to remove duplicates and other lint, being much faster than fdupes"
  9. arch=('i686' 'x86_64')
  10. url="https://github.com/sahib/rmlint"
  11. license=('GPL3')
  12. depends=('glibc')
  13. makedepends=('git')
  14. conflicts=("$_rmlint")
  15. provides=("$_pkgname")
  16. source=("$pkgname"::"git+https://github.com/sahib/${_pkgname}.git")
  17. md5sums=('SKIP')
  18.  
  19. pkgver() {
  20.         cd "$pkgname"
  21.         printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  22. }
  23.  
  24. build() {
  25.         cd "$pkgname"
  26.         make
  27. }
  28.  
  29. package() {
  30.         cd "$pkgname"
  31.         make PREFIX=/usr DESTDIR="$pkgdir" install
  32. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top