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

Giovanni Scafora giovanni at archlinux.org
Sun Nov 29 16:01:07 EST 2009


    Date: Sunday, November 29, 2009 @ 16:01:07
  Author: giovanni
Revision: 59984

upgpkg: parted 1.9.0-1
    upstream release

Modified:
  parted/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-11-29 20:25:27 UTC (rev 59983)
+++ PKGBUILD	2009-11-29 21:01:07 UTC (rev 59984)
@@ -1,25 +1,27 @@
 # $Id$
 # Maintainer: Aaron Griffin <aaron at archlinux.org>
-# Contributor: dorphell <dorphell at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
 
 pkgname=parted
-pkgver=1.8.8
-pkgrel=3
+pkgver=1.9.0
+pkgrel=1
 pkgdesc="A program for creating, destroying, resizing, checking and copying partitions"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 license=('GPL3')
 url="http://www.gnu.org/software/parted/parted.html"
-depends=('e2fsprogs' 'ncurses>=5.6-7' 'readline>=6.0.00')
-source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz parted-1.7.1-fix-seg.patch)
-md5sums=('0d494591731082ec57cc18627728124a' '88f3c5b45fdd1d3dce70a1a19bf48481')
-options=(!libtool)
+depends=('device-mapper' 'e2fsprogs')
+options=('!libtool')
+source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('055305bc7bcf472ce38f9abf69a9d94d')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  #Arch64 fix - still needed?
-  [ "$CARCH" = "x86_64" ] &&  patch -Np1 -i ../parted-1.7.1-fix-seg.patch
-  ./configure --prefix=/usr --disable-debug --disable-Werror
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr \
+              --disable-debug \
+              --disable-rpath \
+              --disable-Werror || return 1
+
   make || return 1
-  make DESTDIR=$startdir/pkg install
-  rm $pkgdir/usr/share/info/dir
+  make DESTDIR="${pkgdir}" install || return 1
 }



More information about the arch-commits mailing list