blob: 7aae07d9f3de09a1da3e3fcb5feaf989fd1b4c82 (
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=0.8.10
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 icu-dev"
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="9cf4246c181c324bdbd553fe9b348373 gptfdisk-0.8.10.tar.gz"
sha256sums="73e64151203ae0c347c488358e71ca582bb7fb7f0d66df86b71c42050390eb9b gptfdisk-0.8.10.tar.gz"
sha512sums="3187bc231c3390a86f5b7b32270d5f0d1e6c7bccd9d1cbf100c29f4822afa73362aa1fbdd3b29f20c42d67ec51bd777b7b58b5791e31182b3860915bc695948f gptfdisk-0.8.10.tar.gz"
|