[arch-commits] Commit in fdupes/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Nov 10 00:22:46 UTC 2018


    Date: Saturday, November 10, 2018 @ 00:22:45
  Author: foutrelis
Revision: 405507

archrelease: copy trunk to community-staging-x86_64

Added:
  fdupes/repos/community-staging-x86_64/
  fdupes/repos/community-staging-x86_64/LICENSE
    (from rev 405506, fdupes/trunk/LICENSE)
  fdupes/repos/community-staging-x86_64/PKGBUILD
    (from rev 405506, fdupes/trunk/PKGBUILD)

----------+
 LICENSE  |   22 ++++++++++++++++++++++
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

Copied: fdupes/repos/community-staging-x86_64/LICENSE (from rev 405506, fdupes/trunk/LICENSE)
===================================================================
--- community-staging-x86_64/LICENSE	                        (rev 0)
+++ community-staging-x86_64/LICENSE	2018-11-10 00:22:45 UTC (rev 405507)
@@ -0,0 +1,22 @@
+Legal Information
+--------------------------------------------------------------------
+FDUPES Copyright (c) 1999 Adrian Lopez
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation files
+(the "Software"), to deal in the Software without restriction,
+including without limitation the rights to use, copy, modify, merge,
+publish, distribute, sublicense, and/or sell copies of the Software,
+and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Copied: fdupes/repos/community-staging-x86_64/PKGBUILD (from rev 405506, fdupes/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-10 00:22:45 UTC (rev 405507)
@@ -0,0 +1,40 @@
+# Maintainer: Xyne <ca dot archlinux at xyne, backwards>
+# Contributor: Daenyth <Daenyth+Arch at gmail dot com>
+# Contributor: Chris Winter <twidds at gmail dot com>
+
+pkgname=fdupes
+pkgver=1.6.1
+pkgrel=2
+# Version changed from 1.51 to 1.6.1
+epoch=1
+pkgdesc="a program for identifying or deleting duplicate files residing within specified directories"
+arch=('x86_64')
+url="https://github.com/adrianlopezroche/fdupes"
+license=(custom)
+depends=(glibc)
+makedepends=(git)
+source=(
+  https://github.com/adrianlopezroche/fdupes/archive/v$pkgver.tar.gz
+  LICENSE
+)
+# Alternatively
+# source=(git://github.com/adrianlopezroche/fdupes.git#tag=$pkgname-$pkgver LICENSE)
+sha512sums=('6c6662b70068c2f48f4be64a6830c81a66852d650391d0756f20b9ac0df7d70c1a32918bd7cbd50e19de524d9ebc09ea338c19636e1807b071eb96b325e641db'
+            '40a005755c406c394506fdacad79140a4bdcb4474024832edc81c6d5f8524be9f2b8f504c5492cbab1cfd6bed86e72ff29d665eab3dec171468de490cf156381')
+
+build() {
+  cd $pkgname-$pkgver
+  make PREFIX=/usr
+}
+
+package(){
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  cd $pkgname-$pkgver
+  # This works on the master branch but not for the 1.51 tag.
+  # install -d "$pkgdir"/usr/{share/man/man1,bin} # remnant from old PKGBUILD
+  #make PREFIX=/usr DESTDIR="$pkgdir" install
+  install -Dm755 fdupes "$pkgdir/usr/bin/fdupes"
+  install -Dm644 fdupes.1 "$pkgdir/usr/share/man/man1/fdupes.1"
+}
+
+# vim: set ts=2 sw=2 et:



More information about the arch-commits mailing list