initial import
This commit is contained in:
22
fdupes/LICENSE
Normal file
22
fdupes/LICENSE
Normal file
@@ -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.
|
||||
35
fdupes/PKGBUILD
Normal file
35
fdupes/PKGBUILD
Normal file
@@ -0,0 +1,35 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=fdupes
|
||||
pkgver=2.2.1
|
||||
_debver=$pkgver
|
||||
_debrel=1
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgdesc="A program for identifying or deleting duplicate files residing within specified directories"
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://github.com/adrianlopezroche/fdupes'
|
||||
license=('Expat')
|
||||
depends=('glibc' 'ncurses' 'pcre2')
|
||||
source=("https://github.com/adrianlopezroche/fdupes/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
|
||||
"https://deb.debian.org/debian/pool/main/f/fdupes/fdupes_${_debver}-${_debrel}.debian.tar.xz")
|
||||
sha512sums=('4911d2f776480691e7bd7045c181d49159add5b479188b05f0878a7af365cee0e430093e71ff172c04b876c58efc3be0f24c9d25f0cdebf1c869931175bc8608'
|
||||
'5e252c0c778883815c5f654e987d6ef196c1473b3fa9077a88b5583cc504192bdbee45545eef7a6c9fac39914d11d4b4d3e3b6048d587e9cb9f91029dc14a9e5')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
mv "$srcdir"/debian .
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr
|
||||
make PREFIX=/usr
|
||||
}
|
||||
|
||||
package(){
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 debian/copyright -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user