blob: e3c3fd3b88a93aedff05e852ee3fabd77ce744a8 (
plain)
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
|
# Maintainer: SahibBommelig <sahib@online.de>
# rmlint PKBUILD for ArchLinux
_pkgname=rmlint
pkgname=${_pkgname}-git
pkgver=v2.2.0.r33.g08a75ed
pkgrel=1
pkgdesc="Tool to remove duplicates and other lint, being much faster than fdupes"
arch=('i686' 'x86_64')
url="https://github.com/sahib/rmlint"
license=('GPL3')
depends=('glibc' 'glib2>=2.31' 'libutil-linux' 'elfutils' 'gettext' 'json-glib')
makedepends=('git' 'scons' 'python-sphinx')
conflicts=("${_pkgname}")
provides=("$_pkgname")
source=("$pkgname"::"git+https://github.com/sahib/${_pkgname}.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --long | sed 's/^foo-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${pkgname}"
scons -j4 DEBUG=1 --prefix=${pkgdir}/usr --actual-prefix=/usr
}
package() {
cd "${srcdir}/${pkgname}"
scons DEBUG=1 --prefix=${pkgdir}/usr install --actual-prefix=/usr
}
|