aboutsummaryrefslogtreecommitdiffstats
path: root/main/gparted/APKBUILD
blob: 4e4269102527f67492f79322245778dbfbea61d0 (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
40
41
42
43
44
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gparted
pkgver=0.21.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"
	update_config_sub || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-doc \
		--disable-scrollkeeper \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="c9618b2eba00e3f081d3f40e8a6029e2  gparted-0.21.0.tar.bz2"
sha256sums="398fc34ce8ffc3b3cfe6b423029646e7c7f40ed1a1bbb737b4d8524bef3565a9  gparted-0.21.0.tar.bz2"
sha512sums="038ae6472e2499109559f4c1ed2314556dc3d7b1424a1448b684a1b5625ee6843703eda350d72ed1653d1cd516553a248dc41eee9627f5e4b18aee5bd62d38b1  gparted-0.21.0.tar.bz2"