author | T.J. Townsend
<blakkheim@archlinux.org> 2023-11-22 16:48:12 UTC |
committer | T.J. Townsend
<blakkheim@archlinux.org> 2023-11-22 16:48:12 UTC |
parent | 9515d00a39e05a9541c6dfef74154728f82fcd8f |
PKGBUILD | +15 | -22 |
diff --git a/PKGBUILD b/PKGBUILD index 4566bfc..53065c2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,42 +2,35 @@ # Contributor: Christian Kohlstedde <christian+aur@kohlsted.de> # Contributor: Mariusz Libera <mariusz.libera@gmail.com> # Contributor: Alex 'AdUser' Z <ad_user@mail.ru> + pkgname=rdfind pkgver=1.6.0 pkgrel=2 -pkgdesc='Redundant data find - a program that finds duplicate files.' -arch=('i686' 'x86_64') -url='http://rdfind.pauldreik.se' +pkgdesc='Redundant data find - a program that finds duplicate files' +arch=('x86_64') +url='https://rdfind.pauldreik.se' license=('GPL-2.0-only') depends=('nettle' 'glibc' 'gcc-libs') -source=("${url}/${pkgname}-${pkgver}.tar.gz" - "${url}/${pkgname}-${pkgver}.tar.gz.asc" -) -validpgpkeys=("CC3C51BA88205B19728A6F07C9D9A0EA44EAE0EB") +source=("${url}/${pkgname}-${pkgver}.tar.gz"{,.asc}) sha256sums=('7a406e8ef1886a5869655604618dd98f672f12c6a6be4926d053be65070f3279' 'SKIP') +validpgpkeys=("CC3C51BA88205B19728A6F07C9D9A0EA44EAE0EB") build() { - cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr - make -s + cd "${pkgname}-${pkgver}" + ./configure --prefix=/usr + make } check() { - cd "${srcdir}/${pkgname}-${pkgver}" - make check + cd "${pkgname}-${pkgver}" + make check } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}/" install + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install - # documentation - install -dm755 "$pkgdir/usr/share/doc/$pkgname" - install -m644 \ - AUTHORS \ - ChangeLog \ - README \ - TODO \ - "$pkgdir/usr/share/doc/$pkgname" + install -dm755 "${pkgdir}/usr/share/doc/${pkgname}" + install -m644 AUTHORS ChangeLog README "${pkgdir}/usr/share/doc/${pkgname}" }