new bblfs: dev-libs/libvterm-0.3.3
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
pkgname=libvterm
|
||||
pkgver=0.3.3
|
||||
pkgdesc="An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator"
|
||||
homepage="https://www.leonerd.org.uk/code/libvterm/"
|
||||
license=("MIT")
|
||||
_patches=("${pkgname}-0.3.3-slibtool.patch")
|
||||
_patch_sums=("4d037b7f6538ab3a994d6e4398b9aa89f7ec689ff646899bd25af609d712cb5c2eab75ced1dae5a9cfdd9a2668d418951df681d0f81c872964beaeda32f447da")
|
||||
sources=("${pkgname}-${pkgver}.tar.gz"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
urls=("https://launchpad.net/libvterm/trunk/v0.3/+download/${sources[0]}"
|
||||
"${_patches[@]}"
|
||||
)
|
||||
sha512sums=("0117f71988d2c3c1b5e46d0778ce491a8ab9033f3afc9a9905b6d52d0e2adb59ee101667826281470e4c9de5178cbe966f4ecb2c7673e9644c7ca3508491bb49"
|
||||
"${_patch_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 VERBOSE=1
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make VERBOSE=1 test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make VERBOSE=1 DESTDIR="${pkgdir}" install
|
||||
find "${pkgdir}" -name '*.la' -delete
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
Reference in New Issue
Block a user