blob: 6efad1fe35f3a7d58e4c280c1441af30729b5726 (
plain)
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
|
# Maintainer: Jesús Ruiz de Infante <jesrui at gmail dot com>
_pkgname=finddupes
pkgname=${_pkgname}-git
pkgver=0.2
pkgrel=1
pkgdesc='finds duplicate files in a given set of directories'
url='https://github.com/jesrui/finddupes'
arch=('i686' 'x86_64' 'armv7h' 'armv6h')
license=('custom:MIT')
makedepends=('git')
checkdepends=('valgrind')
source=("${_pkgname}::git+https://github.com/jesrui/finddupes")
sha1sums=('SKIP')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --tags | sed "s/-/./g"
}
build() {
cd "${srcdir}/${_pkgname}"
make
}
check() {
cd "${srcdir}/${_pkgname}"
./check.sh
}
package() {
cd "${srcdir}/${_pkgname}"
make install PREFIX="${pkgdir}/usr"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|