aboutsummaryrefslogtreecommitdiffstats
path: root/main/gparted/APKBUILD
blob: 47a524aef1090bce540e2d0fc0efe11a5fe242f9 (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.26.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://downloads.sourceforge.net/gparted/gparted-$pkgver/gparted-$pkgver.tar.gz"
source="http://downloads.sourceforge.net/project/gparted/gparted/gparted-$pkgver/gparted-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
}

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="4980fa2b7acf591c53d8c5aecd633306  gparted-0.26.0.tar.gz"
sha256sums="bcf339328c183e1d825d41267cf435b193f1312fc3b9ce207e6087e653e27fb4  gparted-0.26.0.tar.gz"
sha512sums="1017e1f460dd24d08959f018e51d523ae461b29350a136eb3a6cca524a966ad235edee80063fe1b6a0e1a5445e2b30086efbc98d7b948f61e9ddf758c03fc049  gparted-0.26.0.tar.gz"