blob: 351a3750b9d06df363e3f3d949a01e0d05e636af (
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
|
# Contributor: z3bra <willy at mailoo dot org>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=detox
pkgver=1.3.0
pkgrel=1
pkgdesc="Utility for cleaning up filenames"
url="https://github.com/dharple/detox"
arch="all"
license="BSD-3-Clause"
makedepends="autoconf automake coreutils libtool"
subpackages="$pkgname-doc"
options="!check" # no upstream/available test-suite
source="$pkgname-$pkgver.tar.gz::https://github.com/dharple/detox/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
autoreconf -vif
}
build() {
cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--datadir=/usr/share
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="e30d4a2151e4288036db04e0fe91273acf5a6d353126dce0ba19d4fe8a568078e58441fddfd49b6d5034a880e0eccd58a70024cfd2093ad610c6838303b45978 detox-1.3.0.tar.gz"
|