From 42a0236d0dfbeb85f5e5cea46bcbaf6ac44956a8 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Wed, 3 Aug 2011 02:09:15 +0000
Subject: gptfdisk: initial inclusion. Ref #775 & Ref #736

---
 abs/extra/gptfdisk/PKGBUILD                    | 35 ++++++++++++++++++++++++++
 abs/extra/gptfdisk/gptfdisk-0.7.2-1.src.tar.gz |  1 +
 2 files changed, 36 insertions(+)
 create mode 100644 abs/extra/gptfdisk/PKGBUILD
 create mode 120000 abs/extra/gptfdisk/gptfdisk-0.7.2-1.src.tar.gz

diff --git a/abs/extra/gptfdisk/PKGBUILD b/abs/extra/gptfdisk/PKGBUILD
new file mode 100644
index 0000000..3afe8e3
--- /dev/null
+++ b/abs/extra/gptfdisk/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Evangelos Foutras <foutrelis@gmail.com>
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
+# Contributor: Hokum <hokum_at_mail_dot_ru>
+
+pkgname=gptfdisk
+pkgver=0.7.2
+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)
+md5sums=('31deeb7acb5104d56ba2ddeafd907513')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make
+}
+
+package () {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  install -d "$pkgdir"/{sbin,usr/share/{man/man8,gdisk}}
+  install -t "$pkgdir/sbin" gdisk sgdisk fixparts
+  install -m644 -t "$pkgdir/usr/share/man/man8" {gdisk,sgdisk}.8
+  install -m644 -t "$pkgdir/usr/share/gdisk" README NEWS
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/abs/extra/gptfdisk/gptfdisk-0.7.2-1.src.tar.gz b/abs/extra/gptfdisk/gptfdisk-0.7.2-1.src.tar.gz
new file mode 120000
index 0000000..2c17669
--- /dev/null
+++ b/abs/extra/gptfdisk/gptfdisk-0.7.2-1.src.tar.gz
@@ -0,0 +1 @@
+/data/pkg_repo/packages/gptfdisk-0.7.2-1.src.tar.gz
\ No newline at end of file
-- 
cgit v0.12

