# Maintainer: Natanael Copa pkgname=gparted pkgver=0.12.0 pkgrel=0 pkgdesc="a graphical partition editor for creating, reorganizing, and deleting disk partitions" url="http://gparted.sourceforge.net/" arch="all" license="GPL" depends="e2fsprogs" makedepends="gtkmm-dev parted-dev util-linux-dev" install= subpackages="$pkgname-doc $pkgname-lang" source="http://sourceforge.net/projects/gparted/files/gparted/gparted-$pkgver/gparted-$pkgver.tar.bz2" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" } build() { cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-doc \ --disable-scrollkeeper make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install } md5sums="63a24677ff2ef0e62408ba684f233fab gparted-0.12.0.tar.bz2"