mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
0af05b343a
renamed checksums to kdeapps.sums added for all packages the pgp signature for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
27 lines
825 B
Bash
27 lines
825 B
Bash
pkgname=fdupes
|
|
pkgver=1.6.1
|
|
pkgrel=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=('MIT')
|
|
categories=('utils')
|
|
source=("https://github.com/adrianlopezroche/fdupes/archive/v$pkgver.tar.gz"
|
|
LICENSE)
|
|
sha1sums=('e6c26e2012927ebecab33f00280cabbb0aef702d'
|
|
'03f106f6fc05c04ede59598a3f48ce472ab633fb')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
sed 's|/usr/local|/usr|' -i Makefile
|
|
make
|
|
}
|
|
package(){
|
|
cd $srcdir/$pkgname-$pkgver
|
|
install -dm 755 ${pkgdir}/usr/{share/man/man1,bin}
|
|
install -Dm 755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
|
|
install -Dm 644 ${pkgname}.1 ${pkgdir}/usr/share/man/man1
|
|
install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
|
}
|