jobcore/libidn2/PKGBUILD

54 lines
1.3 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.4
pkgrel=03
pkgdesc="Free software implementation of IDNA2008, Punycode and TR46"
arch=('x86_64')
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
}
#---- license gpg-key sha256sums ----
license=('GPL2' 'LGPL3')
validpgpkeys=('B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE') # Simon Josefsson <simon@josefsson.org>
sha256sums=(93caba72b4e051d1f8d4f5a076ab63c99b77faee019b72b9783b267986dbb45f # libidn2-2.3.4.tar.gz
c55c8cd14f398186407808f188ed5325faa01a62d88e79bb700bd8c839f75ceb) # libidn2-2.3.4.tar.gz.sig