[arch-commits] Commit in rmlint/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 19:46:54 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:46:54
  Author: felixonmars
Revision: 753616

archrelease: copy trunk to community-staging-x86_64

Added:
  rmlint/repos/community-staging-x86_64/
  rmlint/repos/community-staging-x86_64/PKGBUILD
    (from rev 753615, rmlint/trunk/PKGBUILD)

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Copied: rmlint/repos/community-staging-x86_64/PKGBUILD (from rev 753615, rmlint/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-12 19:46:54 UTC (rev 753616)
@@ -0,0 +1,45 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Blisfull <narthana.epa at gmail.com>
+# Contributor: SahibBommelig <sahib at online.de>
+
+pkgbase=rmlint
+pkgname=(rmlint rmlint-shredder)
+pkgver=2.10.1
+pkgrel=2
+url="https://github.com/sahib/rmlint"
+license=('GPL3')
+arch=('x86_64')
+makedepends=('scons' 'python-sphinx' 'gettext' 'sqlite' 'util-linux-libs'
+             'binutils' 'json-glib' 'libelf' 'python-gobject' 'python-cairo'
+             'dconf' 'gtksourceview3' 'librsvg' 'desktop-file-utils' 'python-requests')
+source=("https://github.com/sahib/rmlint/archive/v$pkgver/$pkgbase-$pkgver.tar.gz")
+sha256sums=('10e72ba4dd9672d1b6519c0c94eae647c5069c7d11f1409a46e7011dd0c6b883')
+
+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' 'util-linux-libs' '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
+}



More information about the arch-commits mailing list