summaryrefslogtreecommitdiffstats
path: root/testing/gparted/APKBUILD
blob: e2cdcb07c35f3a9efa464a5da8fc4dcd95cc7811 (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.1
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="e9e79b527009e8a2fb6280d8deb4fc09  gparted-0.7.1.tar.bz2"