2015-10-14 12:10:25 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
|
|
|
|
# Contributor: Blisfull <narthana.epa@gmail.com>
|
|
|
|
# Contributor: SahibBommelig <sahib@online.de>
|
2015-10-13 18:04:52 +00:00
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - remove line appending -march=native to CFLAGS in SConstruct
|
|
|
|
|
|
|
|
pkgname=rmlint
|
2015-10-15 12:15:34 +00:00
|
|
|
pkgver=2.2.2
|
2015-10-14 12:10:25 +00:00
|
|
|
pkgrel=1
|
2015-10-13 18:04:52 +00:00
|
|
|
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=('sqlite' 'libutil-linux' 'binutils' 'json-glib' 'libelf')
|
|
|
|
makedepends=('scons' 'python-sphinx' 'gettext')
|
|
|
|
source=("https://github.com/sahib/rmlint/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
|
2015-10-15 12:15:34 +00:00
|
|
|
sha256sums=('08ad28150d99d704d356cdf050c4499f98a0d0c363a2230619d0b3e53e5f9dbb')
|
2015-10-13 18:04:52 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd "$srcdir"/$pkgname-$pkgver
|
|
|
|
sed -i '/march=native/d' SConstruct
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir"/$pkgname-$pkgver
|
|
|
|
scons config
|
|
|
|
scons -j4 DEBUG=1 --prefix="$pkgdir"/usr --actual-prefix=/usr
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir"/$pkgname-$pkgver
|
|
|
|
scons DEBUG=1 --prefix="$pkgdir"/usr install --actual-prefix=/usr
|
|
|
|
}
|