# Maintainer: PktSurf app=gptfdisk version=1.0.10 build=1sml homepage="http://sourceforge.net/projects/gptfdisk/" download="https://sourceforge.net/projects/gptfdisk/files/gptfdisk/$version/gptfdisk-$version.tar.gz" desc="GPT fdisk utilities" requires="gcc-libs netbsd-curses popt util-linux" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { sed -i '/^#include /s|ncursesw/||' gptcurses.cc make for f in cgdisk gdisk sgdisk fixparts ; do install -Dm 755 $f $pkg/usr/bin/$f install -Dm 644 $f.8 $pkg/usr/share/man/man8/$f.8 done cp COPYING $pkgdocs/ mkfinalpkg } sha512sums=" 53b0de0b71809aeeb7418a19b08a7d07688b96f5ce4faa020ca564a29dd72e9d07c898076839dd0bf1dc8175a29f729009013683292d0dabb2bc510102ebbb81 gptfdisk-1.0.10.tar.lz "