aboutsummaryrefslogtreecommitdiffstats
path: root/main/gparted
diff options
context:
space:
mode:
Diffstat (limited to 'main/gparted')
-rw-r--r--main/gparted/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/gparted/APKBUILD b/main/gparted/APKBUILD
new file mode 100644
index 0000000000..35b98acdbb
--- /dev/null
+++ b/main/gparted/APKBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gparted
+pkgver=0.8.1
+pkgrel=1
+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-ng-dev"
+install=
+subpackages="$pkgname-doc"
+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="ba3a434a259ae2ddcfc7f7488ee648ef gparted-0.8.1.tar.bz2"