mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# $Id$
|
|
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
|
|
# Contributor: Blisfull <narthana.epa@gmail.com>
|
|
# Contributor: SahibBommelig <sahib@online.de>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - remove line appending -march=native to CFLAGS in SConstruct
|
|
|
|
pkgname=rmlint
|
|
pkgver=2.2.2
|
|
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=('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")
|
|
sha256sums=('08ad28150d99d704d356cdf050c4499f98a0d0c363a2230619d0b3e53e5f9dbb')
|
|
|
|
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
|
|
}
|