-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
38 lines (33 loc) · 1.21 KB
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
# Disable various shellcheck rules that produce false positives in this file.
# Repository rules should be added to the .shellcheckrc file located in the
# repository root directory, see https://github.com/koalaman/shellcheck/wiki
# and https://archiv8.github.io for further information.
# shellcheck disable=SC2034,SC2154
# ToDo: Add files: User documentation
# ToDo: Add files: Tooling
# FixMe: Namcap warnings and errors
# Maintainer: Ross Clark <archiv8@artisteducator.com>
# Contributor: Ross Clark <archiv8@artisteducator.com>
pkgname=jdupes
pkgver=1.20.2
pkgrel=1
pkgdesc="Is a program for identifying duplicate files residing within specified directories"
arch=("i686" "x86_64")
url="https://github.com/jbruchon/jdupes"
license=("MIT")
depends=(
"glibc"
)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=("d079d22dc77e1d181abcb8a59216520633a8712d197d007a9a9fb64c72610824")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make ENABLE_BTRFS=1 ENABLE_DEDUPE=1 STATIC_DEDUPE_H=1
}
package(){
cd "${srcdir}/${pkgname}-${pkgver}"
make PREFIX="/usr" DESTDIR="${pkgdir}" install
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
}
# vim: set ts=2 sw=2 et: