summaryrefslogtreecommitdiff
path: root/user/gptfdisk/APKBUILD
blob: 21249e469f7819ba2f94db6b7e8ce27b3050aaff (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gptfdisk
pkgver=1.0.4
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://www.rodsbooks.com/gdisk/gptfdisk-$pkgver.tar.gz"

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="2df6db6974c06a6677a155d32566b8b46dad0df7781131e9018072db9acce5e41f6c4e7024b0e5f236dd43350a63572be34fb4b6fdb580cd9b946619a7a683bf  gptfdisk-1.0.4.tar.gz"