diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-09 21:07:12 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-09 21:07:12 +0000 |
commit | a39992aee0138e42c41397fb06d8739013f929a7 (patch) | |
tree | c7a2a1adf068d48e47cefd5513ee00bedb4fe816 /user | |
parent | 4dd20482570e1e3c3cb4a7316067208c389baca6 (diff) | |
download | packages-a39992aee0138e42c41397fb06d8739013f929a7.tar.gz packages-a39992aee0138e42c41397fb06d8739013f929a7.tar.bz2 packages-a39992aee0138e42c41397fb06d8739013f929a7.tar.xz packages-a39992aee0138e42c41397fb06d8739013f929a7.zip |
user/gptfdisk: new package
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" |