summaryrefslogtreecommitdiff
path: root/extra/hd2u/PKGBUILD
blob: be78c1ea070d04f2f8b3fe535d713cf5cb46f9e4 (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
# $Id: PKGBUILD 130939 2011-07-09 06:15:19Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>

pkgname=hd2u
pkgver=1.0.3
pkgrel=3
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
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make BUILD_ROOT="$pkgdir" install
}