#Maintainer: Thorsten Muehlfelder <thenktor@gmx.de>

pkgname=convmv
pkgver=1.14
pkgrel=1tm
arch=noarch
source=("http://www.j3e.de/linux/convmv/$pkgname-$pkgver.tar.gz")
url="http://www.j3e.de/linux/convmv/"
docs=('Changes' 'CREDITS' 'GPL2' 'TODO' 'VERSION' 'testsuite.tar')
# extradepends=('perl')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (converts filenames from one encoding to another)"
"convmv is meant to help convert a single filename, a directory tree"
"and the contained files or a whole filesystem into a different"
"encoding. It just converts the filenames, not the content of the"
"files. A special feature of convmv is that it also takes care of"
"symlinks, also converts the symlink target pointer in case the"
"symlink target is being converted, too."
)

build() {
	cd $startdir/src/${pkgname}-${pkgver}
	sed -i 's#^PREFIX=/usr/local#PREFIX=/usr#' Makefile || return 1
	make DESTDIR=$startdir/pkg install
}