[arch-commits] Commit in hd2u/trunk (PKGBUILD)

Giovanni Scafora giovanni at archlinux.org
Sat Jul 9 02:15:19 EDT 2011


    Date: Saturday, July 9, 2011 @ 02:15:19
  Author: giovanni
Revision: 130939

upgpkg: hd2u 1.0.3-3
improved PKGBUILD

Modified:
  hd2u/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-09 05:55:20 UTC (rev 130938)
+++ PKGBUILD	2011-07-09 06:15:19 UTC (rev 130939)
@@ -4,18 +4,24 @@
 
 pkgname=hd2u
 pkgver=1.0.3
-pkgrel=2
+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)
+source=("http://hany.sk/~hany/_data/hd2u/$pkgname-$pkgver.tgz")
 md5sums=('8f6668fafb279aa19f956ec0515717b6')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
+
   ./configure --prefix=/usr
   make
-  make prefix="$pkgdir/usr" install
 }
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make BUILD_ROOT="$pkgdir" install
+}



More information about the arch-commits mailing list