core/parted/PKGBUILD

29 lines
835 B
Bash
Raw Normal View History

2010-05-22 06:07:29 +08:00
# $Id: PKGBUILD 70532 2010-02-27 11:57:04Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Aaron Griffin <aaron@archlinux.org>
pkgname=parted
pkgver=2.2
2010-05-22 06:07:29 +08:00
pkgrel=1
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')
options=('!libtool')
install=parted.install
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('9c262afd6673d7724a60b7c632ce80fa')
2010-05-22 06:07:29 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--disable-debug \
--disable-rpath \
--disable-Werror || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}