summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-26 15:00:49 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-26 15:00:49 (GMT)
commit7b344c6e44c686923ad931df85db2b4f50bf2768 (patch)
treea7b2df293a6d282975323c0f70f752efb1177875
parent77b438a384b3a5f822e2665d1411ee611b6cf65e (diff)
downloadlinhes_pkgbuild-7b344c6e44c686923ad931df85db2b4f50bf2768.zip
linhes_pkgbuild-7b344c6e44c686923ad931df85db2b4f50bf2768.tar.gz
linhes_pkgbuild-7b344c6e44c686923ad931df85db2b4f50bf2768.tar.bz2
hd2u: update from ABS, license change
-rw-r--r--abs/extra/hd2u/PKGBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/abs/extra/hd2u/PKGBUILD b/abs/extra/hd2u/PKGBUILD
index 8cde95c..19e7098 100644
--- a/abs/extra/hd2u/PKGBUILD
+++ b/abs/extra/hd2u/PKGBUILD
@@ -1,21 +1,27 @@
-# $Id: PKGBUILD 13676 2008-09-27 21:20:46Z giovanni $
+# $Id: PKGBUILD 143751 2011-11-28 20:37:55Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
pkgname=hd2u
pkgver=1.0.3
-pkgrel=1
+pkgrel=4
pkgdesc="Dos2Unix text file converter"
arch=('i686' 'x86_64')
-license=('GPL2')
+license=('GPL')
url="http://hany.sk/~hany/software/hd2u/"
depends=('popt')
-source=(http://hany.sk/~hany/_data/hd2u/$pkgname-$pkgver.tgz)
+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
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make BUILD_ROOT="$pkgdir" install
}