aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/gptfdisk/APKBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/main/gptfdisk/APKBUILD b/main/gptfdisk/APKBUILD
index d92296de9e..b2811a547b 100644
--- a/main/gptfdisk/APKBUILD
+++ b/main/gptfdisk/APKBUILD
@@ -5,24 +5,24 @@ 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'
+options="!check" # No test suite.
+license="GPL-2.0+"
makedepends="ncurses-dev e2fsprogs-dev popt-dev linux-headers"
subpackages="$pkgname-doc sgdisk"
source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/gptfdisk-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
make CXX="${CXX:-g++}" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
}
-package () {
- cd "$_builddir"
+package() {
+ cd "$builddir"
mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man8
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
+ install $i "$pkgdir"/usr/bin/
+ install $i.8 "$pkgdir"/usr/share/man/man8/
done
}