Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 41 lines (34 sloc) 0.849 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
# Maintainer: SahibBommelig <sahib@online.de>
# rmlint PKBUILD for ArchLinux
pkgname=rmlint-git
pkgver=20120217
pkgrel=1
pkgdesc="Tool to remove duplicates and other lint, being much faster than fdupes"
arch=('i686' 'x86_64')
depends=(glibc)
provides=('rmlint')
conflicts=('rmlint')
makedepends=('git')
license=('GPL3')
url=("https://github.com/sahib/rmlint")

_gitroot="git://github.com/sahib/rmlint.git"
_gitname="rmlint"

build()
{
    cd ${srcdir}/

    msg "Connecting to the GIT server...."
    if [[ -d ${srcdir}/${_gitname} ]] ; then
cd ${_gitname}
        git pull origin
    msg "Updating existing repo..."
    else
git clone ${_gitroot}
    fi
msg "GIT checkout done."
    cd ${srcdir}/${_gitname}
    
    make || return 1
}

package() {
  cd "$srcdir/${_gitname}"
  make DESTDIR=$pkgdir install || return 1
}
Something went wrong with that request. Please try again.