summaryrefslogtreecommitdiffstats
path: root/testing/gparted/APKBUILD
blob: aa344d8cfac0b5cae7843388cbfd53933df0e0cc (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.8.1
pkgrel=0
pkgdesc="a graphical partition editor for creating, reorganizing, and deleting disk partitions"
url="http://gparted.sourceforge.net/"
arch="all"
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="ba3a434a259ae2ddcfc7f7488ee648ef  gparted-0.8.1.tar.bz2"