aboutsummaryrefslogtreecommitdiffstats
path: root/main/gparted/APKBUILD
blob: e6f9ca91b967be1e8d892480b045b1ccfeb8fcdf (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gparted
pkgver=0.16.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="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"
}

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="3f399bff031b5ce14d11a8c346f4b89c  gparted-0.16.1.tar.bz2"
sha256sums="e5f470c5d29d2d13f1e91d0a5bc2aa10a3630a7e780da22d198b3f5be43098c4  gparted-0.16.1.tar.bz2"
sha512sums="9212496228238d4960ac43313c956171a94177a98e264da942e748a94ee06f99d0595165ded7f731c9da382bdc80e11b3554de4a69665e01117015534e203db3  gparted-0.16.1.tar.bz2"