summaryrefslogtreecommitdiffstats
path: root/testing/gparted/APKBUILD
blob: 4141faa32d9b8e9487f73cbe12036b6cee785b83 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: 
# Maintainer: 
pkgname=gparted
pkgver=0.7.0
pkgrel=0
pkgdesc="a graphical partition editor for creating, reorganizing, and deleting disk partitions"
url="http://gparted.sourceforge.net/"
arch="x86 x86_64"
license="GPL"
depends=
makedepends="gtkmm-dev parted-dev util-linux-ng-dev"
#gnome-doc-utils py-libxml2"
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="88c5b2162a7b7847c68ea80f4fcd0153  gparted-0.7.0.tar.bz2"