Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: SahibBommelig <sahib@online.de>
- # rmlint PKBUILD for ArchLinux
- pkgname=rmlint-git
- pkgver=20140626
- pkgrel=1
- pkgdesc="Tool to remove duplicates and other lint, being much faster than fdupes"
- arch=('i686' 'x86_64')
- depends=(glibc clang)
- provides=('rmlint')
- conflicts=('rmlint')
- makedepends=('git')
- license=('GPL3')
- url=("https://github.com/sahib/rmlint")
- _gitroot="https://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 --depth 1
- msg "Updating existing repo..."
- else
- git clone --depth=1 ${_gitroot}
- fi
- msg "GIT checkout done."
- cd ${srcdir}/${_gitname}
- scons -j4
- scons
- }
- package() {
- cd "$srcdir/${_gitname}"
- scons --prefix=$pkgdir install
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement