summaryrefslogtreecommitdiff
path: root/extra/gptfdisk/PKGBUILD
blob: 9da2ea890643250bcdeca2b9d4452bdc9d0846a9 (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
# $Id: PKGBUILD 116996 2011-03-27 12:25:01Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org
# Contributor: Hokum <hokum_at_mail_dot_ru>
pkgname=gptfdisk
pkgver=0.7.1
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"
depends=('gcc-libs' 'util-linux' 'popt' 'icu')
replaces=('gdisk')
license=('GPL2')
source=(http://www.rodsbooks.com/gdisk/$pkgname-$pkgver.tgz)

build() {
  cd $srcdir/$pkgname-$pkgver
  make
}

package () {
  cd $srcdir/$pkgname-$pkgver
  install -D -m755 gdisk $pkgdir/sbin/gdisk
  install -D -m755 sgdisk $pkgdir/sbin/sgdisk
  install -D -m755 fixparts $pkgdir/sbin/fixparts
  install -D -m644 gdisk.8 $pkgdir/usr/share/man/man8/gdisk.8
  install -D -m644 sgdisk.8 $pkgdir/usr/share/man/man8/sgdisk.8
  install -D -m644 README $pkgdir/usr/share/gdisk/README
  install -D -m644 NEWS pkgdir/usr/share/gdisk/NEWS
}
md5sums=('7c8d810df61e81c821bef399b832e89e')