commit eced61dc4aec139e8cef6854505126bbac847e4a Author: xhaa123 Date: Sun Nov 3 20:34:45 2024 +0800 libidn2 2.3.7-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..abc8937 --- /dev/null +++ b/PKGBUILD @@ -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 +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 +}