libidn2 2.3.7-1

This commit is contained in:
xhaa123 2024-11-03 20:34:45 +08:00
commit eced61dc4a

30
PKGBUILD Normal file
View File

@ -0,0 +1,30 @@
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=libidn2
pkgver=2.3.7
pkgrel=1
pkgdesc="Free software implementation of IDNA2008, Punycode and TR46"
arch=('x86_64')
url="https://www.gnu.org/software/libidn/#libidn2"
license=('GPL2' 'LGPL3')
depends=('libunistring')
source=(https://ftp.gnu.org/gnu/libidn/${pkgname}-${pkgver}.tar.gz)
sha256sums=(4c21a791b610b9519b9d0e12b8097bf2f359b12f8dd92647611a929e6bfd7d64)
build() {
cd ${pkgname}-${pkgver}
${CONFIGURE} --disable-static
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}