56 lines
1.4 KiB
Bash
56 lines
1.4 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=libidn2
|
|
pkgver=2.3.7
|
|
pkgrel=01
|
|
pkgdesc="Free software implementation of IDNA2008, Punycode and TR46"
|
|
url="https://www.gnu.org/software/libidn/#libidn2"
|
|
depends=('libunistring')
|
|
makedepends=('ruby-ronn-ng')
|
|
provides=('libidn2.so')
|
|
source=(https://ftp.gnu.org/gnu/libidn/$pkgname-$pkgver.tar.gz{,.sig})
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-static
|
|
# --disable-dependency-tracking
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
depends+=('libunistring.so')
|
|
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=('x86_64')
|
|
|
|
license=('GPL2' 'LGPL3')
|
|
|
|
validpgpkeys=('B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE') # Simon Josefsson <simon@josefsson.org>
|
|
|
|
sha256sums=(4c21a791b610b9519b9d0e12b8097bf2f359b12f8dd92647611a929e6bfd7d64 # libidn2-2.3.7.tar.gz
|
|
d4e78fc1c5a5c35980be3a04dd864574f450d55921360b0aa19326c75ada4a98) # libidn2-2.3.7.tar.gz.sig
|
|
|
|
## ddb8b203d2cf917eefea97ad1a09aa639d2b032b6fb76f7e0e61bbe7d6a48749 libidn2-2.3.7-01-x86_64.pkg.tar.lz
|
|
|