From 2b803beb0d7ef57a0d99c1e5a1e204171537644e Mon Sep 17 00:00:00 2001
From: prspkt <prspkt@protonmail.com>
Date: Fri, 6 Jul 2018 13:19:41 +0300
Subject: [PATCH] main/gptfdisk: clarify license, use https

---
 main/gptfdisk/APKBUILD | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/main/gptfdisk/APKBUILD b/main/gptfdisk/APKBUILD
index 63947e132f04..3b04136ff181 100644
--- a/main/gptfdisk/APKBUILD
+++ b/main/gptfdisk/APKBUILD
@@ -4,12 +4,12 @@ pkgver=1.0.4
 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/"
+url="https://www.rodsbooks.com/gdisk"
 options="!check"  # No test suite.
-license="GPL-2.0+"
+license="GPL-2.0-or-later"
 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"
+source="https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
 
 build() {
 	cd "$builddir"
@@ -20,7 +20,7 @@ package() {
 	cd "$builddir"
 
 	mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man8
-	for i in gdisk cgdisk sgdisk fixparts; do
+	local i; for i in gdisk cgdisk sgdisk fixparts; do
 		install $i "$pkgdir"/usr/bin/
 		install $i.8 "$pkgdir"/usr/share/man/man8/
 	done
-- 
GitLab