blob: f9921407f961b84c9c6763d6d175b3f2abf79495 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gptfdisk
pkgver=1.0.0
pkgrel=0
pkgdesc="A text-mode partitioning tool that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks"
arch="all"
url="http://www.rodsbooks.com/gdisk/"
license='GPL2'
makedepends="ncurses-dev e2fsprogs-dev popt-dev linux-headers"
source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/gptfdisk-$pkgver
build() {
cd "$_builddir"
make CXX="${CXX:-g++}" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
}
package () {
cd "$_builddir"
install -d "$pkgdir"/usr/bin \
"$pkgdir"/usr/share/man/man8 \
|| return 1
for i in gdisk cgdisk sgdisk fixparts; do
install $i "$pkgdir"/usr/bin/ || return 1
install $i.8 "$pkgdir"/usr/share/man/man8/ || return 1
done
}
md5sums="2061f917af084215898d4fea04d8388f gptfdisk-1.0.0.tar.gz"
sha256sums="5b66956743a799fc0471cdb032665c1391e82f9c5b3f1d7d726d29fe2ba01d6c gptfdisk-1.0.0.tar.gz"
sha512sums="d60660563268c20737415e1cfd4239fba0cc2ceb4c6ae86cc34e9550d969f9b88ac3d8c862d1790f6d644266b423eeb5d78540eec01a447b722793fba54f6afc gptfdisk-1.0.0.tar.gz"
|