# Contributor (Arch): gls < ghostlovescorebg at gmail dot com >
# Maintainer: Aurélien DESBRIÈRES <aurelien@hackers.camp>

pkgname=libowfat
pkgver=0.29
pkgrel=3.1
pkgdesc='GPL reimplementation of libdjb'
arch=(i686 x86_64)
url=http://www.fefe.de/libowfat/
depends=()
license=(GPL)
install=libowfat.install
source=(http://dl.fefe.de/$pkgname-$pkgver.tar.bz2)
md5sums=(6bbee9a86506419657d87123b7a6f2c1)

build() {
	cd $srcdir/$pkgname-$pkgver
	make
}

package() {
	cd $srcdir/$pkgname-$pkgver
	make prefix=$pkgdir/usr/ LIBDIR=$pkgdir/usr/lib MAN3DIR=$pkgdir/usr/share/man/man3 install

	cd $pkgdir/usr/share/man/man3
	mv buffer.3 buffer-libowfat.3
}
md5sums=('1187c6acf11429e7adb9ebe180f644bb')
