summaryrefslogtreecommitdiff
path: root/extra/gpart/PKGBUILD
blob: 26c81ea6d144c900c2c86e0c3d52151207c6fb54 (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
# $Id: PKGBUILD 201253 2013-12-06 19:56:50Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: dale <dale@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=gpart
pkgver=0.2.1
pkgrel=1
pkgdesc="Partition table rescue/guessing tool"
arch=('i686' 'x86_64')
url="https://github.com/baruch/gpart"
license=('GPL')
depends=('glibc')
source=("https://github.com/baruch/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
md5sums=('465870b72b647a3aa22b335ba527e869')

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

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make prefix=${pkgdir}/usr install
}