# Contributor: A. Wilcox # Maintainer: A. Wilcox pkgname=gptfdisk pkgver=1.0.5 pkgrel=1 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"