# $Id: PKGBUILD 13676 2008-09-27 21:20:46Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>

pkgname=hd2u
pkgver=1.0.3
pkgrel=1
pkgdesc="Dos2Unix text file converter"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://hany.sk/~hany/software/hd2u/"
depends=('popt')
source=(http://hany.sk/~hany/_data/hd2u/$pkgname-$pkgver.tgz)
md5sums=('8f6668fafb279aa19f956ec0515717b6')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make || return 1
  make prefix=$pkgdir/usr install
}