mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
removed community/rmlint
This commit is contained in:
parent
c1845e00fe
commit
014aaff7b2
1 changed files with 0 additions and 55 deletions
|
@ -1,55 +0,0 @@
|
|||
# $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
|
||||
|
||||
pkgbase=rmlint
|
||||
pkgname=(rmlint rmlint-shredder)
|
||||
pkgver=2.4.3
|
||||
pkgrel=2
|
||||
url="https://github.com/sahib/rmlint"
|
||||
license=('GPL3')
|
||||
arch=('i686' 'x86_64')
|
||||
makedepends=('scons' 'python-sphinx' 'gettext' 'sqlite' 'libutil-linux'
|
||||
'binutils' 'json-glib' 'libelf' 'python-gobject' 'python-cairo'
|
||||
'dconf' 'gtksourceview3' 'librsvg' 'desktop-file-utils')
|
||||
source=("https://github.com/sahib/rmlint/archive/v$pkgver/$pkgbase-$pkgver.tar.gz")
|
||||
sha256sums=('499c38449038c30b7704760d1251f0098fb28f6037e54c434ef24d6d18d0b5a5')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir"/$pkgbase-$pkgver
|
||||
sed 's/python4/python/' -i gui/SConscript
|
||||
sed -i '/march=native/d' SConstruct
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir"/$pkgbase-$pkgver
|
||||
scons config
|
||||
scons -j4 DEBUG=1 --prefix="$pkgdir"/usr --actual-prefix=/usr
|
||||
}
|
||||
|
||||
package_rmlint() {
|
||||
pkgdesc="Tool to remove duplicates and other lint, being much faster than fdupes"
|
||||
depends=('sqlite' 'libutil-linux' 'binutils' 'json-glib' 'libelf')
|
||||
|
||||
cd "$srcdir"/$pkgbase-$pkgver
|
||||
scons DEBUG=1 --prefix="$pkgdir"/usr install --actual-prefix=/usr
|
||||
|
||||
rm -rf "$pkgdir"/usr/share/{glib-2.0,icons,applications}
|
||||
rm -rf "$pkgdir"/usr/lib
|
||||
}
|
||||
|
||||
package_rmlint-shredder() {
|
||||
pkgdesc="Graphical user interface for rmlint"
|
||||
depends=('rmlint' 'python-gobject' 'python-cairo' 'dconf' 'librsvg'
|
||||
'gtksourceview3' 'xdg-utils')
|
||||
|
||||
cd "$srcdir"/$pkgbase-$pkgver
|
||||
scons DEBUG=1 --prefix="$pkgdir"/usr install --actual-prefix=/usr
|
||||
|
||||
rm -rf "$pkgdir"/usr/{bin,share/locale,share/man}
|
||||
rm "$pkgdir"/usr/share/glib-2.0/schemas/gschemas.compiled
|
||||
}
|
Loading…
Reference in a new issue