blob: be2d735627eb2f0bce2f90367bc0483acad86cde (
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
|
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
pkgname=parted
pkgver=1.8.8
pkgrel=2
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=('e2fsprogs')
source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz parted-1.7.1-fix-seg.patch)
md5sums=('0d494591731082ec57cc18627728124a' '88f3c5b45fdd1d3dce70a1a19bf48481')
options=(!libtool !emptydirs)
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
make || return 1
make DESTDIR=$startdir/pkg install
}
|