diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/gptfdisk/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/user/gptfdisk/APKBUILD b/user/gptfdisk/APKBUILD new file mode 100644 index 000000000..265d5f8c3 --- /dev/null +++ b/user/gptfdisk/APKBUILD @@ -0,0 +1,30 @@ +# 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() { + cd "$builddir" + make LDFLAGS="$LDFLAGS -ltinfo" +} + +package() { + cd "$builddir" + local _app + 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" |