Files
LFS-PKGBUILDs/dev-libs/unibilium-2.1.2.PKGBUILD

41 lines
1.0 KiB
Bash

pkgname=unibilium
pkgver=2.1.2
pkgdesc="A very basic terminfo library"
homepage="https://github.com/neovim/unibilium/"
license=("MIT" "LGPL-3+")
depends=("perl")
_patches=("${pkgname}-2.1.2-no-compress-man.patch")
_path_sums=("6bfbd322f54ffe2daec7cefba167de55b2085923cebb531e7803a8753f57437acfab2bb77fd9c956cd3da3be41e6af2e66acd6281b81bbb23c6045e3863cc90c")
sources=("${pkgname}-${pkgver}.tar.gz"
"${_patches[@]}"
)
urls=("https://github.com/neovim/${pkgname}/archive/v${pkgver}.tar.gz"
"${_patches[@]}"
)
sha512sums=("8bc50b3662fcb1b52055fed028926d8c296169b6b1cfefef9bb37a435321ee6e005c4166c1e68c2959e5f6d4ffe8f44d8ea87d6dcc967176d473ae918ff3018f"
"${_path_sums[@]}"
)
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
for _patch in ${_patches[@]}; do
patch -p1 -i ${filedir}/${_patch}
done
autoreconf -fiv
}
src_build() {
./configure --prefix=/usr --disable-static
make
}
src_check() {
make test
}
src_install() {
make DESTDIR="$pkgdir" install
}
# vim:ft=sh syn=sh et sw=2: