# Contributor: # Maintainer: pkgname=liblouis pkgver=3.26.0 pkgrel=0 pkgdesc="Braille translator and back-translator" url="https://liblouis.io/" arch="all" license="GPL-3.0-or-later" makedepends="help2man python3" checkdepends="bash" subpackages="$pkgname-static $pkgname-dev $pkgname-bin:_bin $pkgname-doc" source=" $pkgname-$pkgver.tar.gz::https://github.com/liblouis/liblouis/releases/download/v$pkgver/liblouis-$pkgver.tar.gz " # secfixes: # 3.22.0-r0: # - CVE-2022-26981 build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --enable-ucs4 make } check() { make check } package() { make DESTDIR="$pkgdir" install } _bin() { mkdir -p "$subpkgdir"/usr mv "$pkgdir"/usr/bin "$subpkgdir"/usr } sha512sums=" 2567581ded0bd9d3ca0b8e97bb8f2a7fbb0d0951744cf59a30f5305b4dabc6a7117880291f37f41f92d8a96f832a7d3bed044cb18b0c818e970559364214461b liblouis-3.26.0.tar.gz "