# $Id: PKGBUILD 196545 2013-10-15 06:55:43Z tpowa $ # Maintainer: Evangelos Foutras # Contributor: Tobias Powalowski # Contributor: Hokum pkgname=gptfdisk pkgver=0.8.8 pkgrel=1 pkgdesc="A text-mode partitioning tool that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks" arch=('i686' 'x86_64') url="http://www.rodsbooks.com/gdisk/" license=('GPL2') depends=('gcc-libs' 'util-linux' 'popt' 'icu') provides=("gdisk=$pkgver") conflicts=('gdisk') replaces=('gdisk') source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz) build() { cd $pkgname-$pkgver make } package () { cd $pkgname-$pkgver install -d "$pkgdir"/usr/{bin,share/{doc/gdisk,man/man8}} install -t "$pkgdir/usr/bin" {,c,s}gdisk fixparts install -m644 -t "$pkgdir/usr/share/man/man8" {{,c,s}gdisk,fixparts}.8 install -m644 -t "$pkgdir/usr/share/doc/gdisk" README NEWS } md5sums=('bd47d03ec27bab5613254b5a20f72143')