updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / detox / PKGBUILD
blobe689f15ee23dd98c0620d50ebe31081f898583b1
1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 pkgname=detox
4 pkgver=1.2.0
5 pkgrel=1
6 pkgdesc="An utility designed to clean up filenames by replacing characters with standard equivalents"
7 arch=('i686' 'x86_64')
8 url="http://detox.sourceforge.net/"
9 license=('BSD')
10 makedepends=('flex')
11 options=('!makeflags')
12 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
13 md5sums=('da34c6bc3c68ce2fb008e25066e72927')
15 build() {
16   cd ${srcdir}/${pkgname}-${pkgver}
18   ./configure --prefix=/usr --sysconfdir=/etc/detox
19   make || return 1
20   make DESTDIR=${pkgdir} install || return 1
22 #license file
23   install -D -m644 ${srcdir}/${pkgname}-${pkgver}/LICENSE \
24     ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1