~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

[PATCH] main/libidn2: new APKBUILD

Details
Message ID
<20190718183905.9231-1-sir@cmpwn.com>
DKIM signature
missing
Download raw message
Patch: +42 -0
Based on main/libidn.
---
This will be necessary for the next mutt release.

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

diff --git a/main/libidn2/APKBUILD b/main/libidn2/APKBUILD
new file mode 100644
index 0000000000..61fcbee605
--- /dev/null
+++ b/main/libidn2/APKBUILD
@@ -0,0 +1,42 @@
# 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-dev $pkgname-doc"
source="https://ftp.gnu.org/gnu/libidn/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-nls
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	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
Reply to thread Export thread (mbox)