31 lines
848 B
Bash
31 lines
848 B
Bash
|
# 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
|
||
|
}
|