summaryrefslogtreecommitdiff
path: root/user/gptfdisk/APKBUILD
blob: 65f372d39698376074311d6f230ee14797f48db2 (plain) (blame)
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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gptfdisk
pkgver=1.0.5
pkgrel=0
pkgdesc="Utility for manipulating GUID Partition Tables (GPT)"
url="https://www.rodsbooks.com/gdisk/index.html"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0-only"
depends=""
makedepends="icu-dev ncurses-dev popt-dev util-linux-dev"
subpackages="$pkgname-doc"
source="https://sourceforge.net/projects/gptfdisk/files/gptfdisk/$pkgver/gptfdisk-$pkgver.tar.gz
	ncurses.patch
	"

build() {
	make LDFLAGS="$LDFLAGS -ltinfo"
}

package() {
	for _app in cgdisk fixparts gdisk sgdisk; do
		install -D -m755 $_app "$pkgdir"/usr/sbin/$_app
		install -D -m644 $_app.8 "$pkgdir"/usr/share/man/man8/$_app.8
	done
}

sha512sums="3d3a59e3488dd3d6bda5d103b9ad8b7936752210346b9787ddc936681498fba90577b6ae950c471d09a01bf6405fce32038ff1777c52db0b21e5277737fe3703  gptfdisk-1.0.5.tar.gz
052dab1640dcceceace0a147af4853ba3f1210880bdd9519b151d9c8f17b6dbc339828fa83d73314af022aa27b9e2b8eabfd81460b0a7e3d3485697323c62760  ncurses.patch"