summaryrefslogtreecommitdiff
path: root/extra/gptfdisk/PKGBUILD
blob: e5f2470f374a5e7b4e7be3cd7abaadd54cee312b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $Id: PKGBUILD 124135 2011-05-16 17:24:42Z foutrelis $
# Maintainer: Evangelos Foutras <foutrelis@gmail.com>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Hokum <hokum_at_mail_dot_ru>

pkgname=gptfdisk
pkgver=0.7.1
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')
conflicts=('gdisk')
replaces=('gdisk')
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tgz)
md5sums=('7c8d810df61e81c821bef399b832e89e')

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: