~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH v2] main/libidn2: new APKBUILD

Details
Message ID
<20190718185322.18597-1-sir@cmpwn.com>
DKIM signature
missing
Download raw message
Patch: +38 -0
Based on main/libidn.
---
Added -static and dropped explicit cd "$builddir"

 main/libidn2/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 main/libidn2/APKBUILD

diff --git a/main/libidn2/APKBUILD b/main/libidn2/APKBUILD
new file mode 100644
index 0000000000..c9fb81752c
--- /dev/null
+++ b/main/libidn2/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+pkgname=libidn2
+pkgver=2.2.0
+pkgrel=0
+pkgdesc="Encode/Decode library for internationalized domain names"
+url="https://www.gnu.org/software/libidn#libidn2"
+arch="all"
+license="GPL-2.0-or-later GPL-3.0-or-later LGPL-3.0-or-later"
+makedepends="libunistring-dev"
+checkdepends="diffutils"
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
+source="https://ftp.gnu.org/gnu/libidn/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+	./configure \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--infodir=/usr/share/info \
+		--disable-nls
+	make
+}
+
+check() {
+	make check
+}
+
+package() {
+	make DESTDIR="$pkgdir" install
+
+	# only keep man pages
+	rm -rf "$pkgdir"/usr/share/info
+}
+
+sha512sums="ccf56056a378d49a28ff67a2a23cd3d32ce51f86a78f84839b98dad709a1d0d03ac8d7c1496f0e4d3536bca00e3d09d34d76a37317b2ce87e3aa66bdf4e877b8  libidn2-2.2.0.tar.gz"
-- 
2.22.0
Milan P. Stanic
Details
Message ID
<20190720125756.GA28268@zarya>
In-Reply-To
<20190718185322.18597-1-sir@cmpwn.com> (view parent)
DKIM signature
missing
Download raw message
Hi,

commit message should be "testing/libidn2: new aport" (not APKBUILD).
and new packages should go to 'testing' first and not to 'main'.

Thank you for helping Alpine.

On Thu, 2019-07-18 at 14:53, Drew DeVault wrote:
> Based on main/libidn.
> ---
> Added -static and dropped explicit cd "$builddir"
> 
>  main/libidn2/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++
[...]