# Contributor: Marvin Steadfast # Maintainer: Marvin Steadfast pkgname=unibilium pkgver=2.0.0 pkgrel=1 pkgdesc="A terminfo parsing library" url="https://github.com/mauke/unibilium/" arch="all" license="LGPL-3.0" depends_dev="libtool" makedepends="$depends_dev" checkdepends="perl-dev" subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/mauke/$pkgname/archive/v$pkgver.tar.gz 39.patch build-static-lib.patch" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" make PREFIX=/usr } check() { cd "$builddir" make test } package() { cd "$builddir" make PREFIX=/usr DESTDIR="$pkgdir" install } sha512sums="e93f319b7a85a4441c7f4e30d12d906805f066b14bff03331e48b6257da893f6447e257c8ba731077ad4b54d82d3ebf1ccf1fcf2d864273e0d4321a26ef7c172 unibilium-2.0.0.tar.gz fb6ce8101c0a5032a7ff2e669d80d1657580a06481f616777534fb19223f2b0440a785bdaa1d9fbac6a30f13a6ec1b99b993b3b1a2bd0ff800ffb6e172f2e175 39.patch 68533c5e55997061ce71f1701490d078fd6a22ee83615d693e6b2fddda2d2b652ce73f5ff5335d3747f211845d4da4a80eb12733407ee071785624f94fa1d0e8 build-static-lib.patch"