diff options
Diffstat (limited to 'abs/core/parted/PKGBUILD')
-rw-r--r-- | abs/core/parted/PKGBUILD | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/abs/core/parted/PKGBUILD b/abs/core/parted/PKGBUILD index d166fd8..6bb7ce0 100644 --- a/abs/core/parted/PKGBUILD +++ b/abs/core/parted/PKGBUILD @@ -1,31 +1,37 @@ -# $Id: PKGBUILD 82289 2010-06-10 01:52:54Z andrea $ +# $Id$ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Aaron Griffin <aaron@archlinux.org> pkgname=parted -pkgver=2.3 -pkgrel=1 +pkgver=3.0 +pkgrel=3 pkgdesc="A program for creating, destroying, resizing, checking and copying partitions" arch=('i686' 'x86_64') license=('GPL3') url="http://www.gnu.org/software/parted/parted.html" depends=('device-mapper' 'e2fsprogs') +makedepends=('pkgconfig') options=('!libtool') install=${pkgname}.install -source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz") -md5sums=('30ceb6df7e8681891e865e2fe5a7903d') +source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz" + linux.c.patch) +md5sums=('c415e5c97f86b5ff65a2d925e5a3feb7' + '08c942e212424e238271217f52c59706') build() { cd "${srcdir}/${pkgname}-${pkgver}" + # FS#25307 + patch -Np1 -i ${srcdir}/linux.c.patch + ./configure --prefix=/usr \ --disable-debug \ - --disable-rpath \ - --disable-Werror || return 1 - make || return 1 + --disable-rpath + make } package() { cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install || return 1 + + make DESTDIR="${pkgdir}" install } |