summaryrefslogtreecommitdiff
path: root/staging/gptfdisk/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-27 00:01:20 +0000
committerroot <root@rshg054.dnsready.net>2012-03-27 00:01:20 +0000
commitc8729cab8302ab82e01135a22fb9fa9704f1559b (patch)
treef272d52815dcaf543aaf60177bdfc7d28e22e201 /staging/gptfdisk/PKGBUILD
parentcf507a0dbf5ee8258e49256049b420ac8e191387 (diff)
Tue Mar 27 00:01:20 UTC 2012
Diffstat (limited to 'staging/gptfdisk/PKGBUILD')
-rw-r--r--staging/gptfdisk/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/staging/gptfdisk/PKGBUILD b/staging/gptfdisk/PKGBUILD
new file mode 100644
index 000000000..acc2d13db
--- /dev/null
+++ b/staging/gptfdisk/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 154317 2012-03-26 03:38:49Z foutrelis $
+# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
+# Contributor: Hokum <hokum_at_mail_dot_ru>
+
+pkgname=gptfdisk
+pkgver=0.8.4
+pkgrel=2
+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)
+sha256sums=('a4aa6800df3a43bec2900eff3c2d8488d8d60c06833035bc881237f9acb79b85')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make
+}
+
+package () {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ install -d "$pkgdir"/{sbin,usr/share/{doc/gdisk,man/man8}}
+ install -t "$pkgdir/sbin" {,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
+}
+
+# vim:set ts=2 sw=2 et: