unibilium: fix license, description

This commit is contained in:
Colin Booth 2021-06-07 23:31:28 -07:00 committed by Đoàn Trần Công Danh
parent b33c7d648d
commit 588b8c8313

View file

@ -1,12 +1,12 @@
# Template file for 'unibilium' # Template file for 'unibilium'
pkgname=unibilium pkgname=unibilium
version=2.0.0 version=2.0.0
revision=1 revision=2
build_style=gnu-makefile build_style=gnu-makefile
hostmakedepends="libtool perl" hostmakedepends="libtool perl"
short_desc="A simple, self-contained terminfo library" short_desc="Simple, self-contained terminfo library"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>" maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="LGPL-3" license="LGPL-3.0-or-later"
homepage="https://github.com/mauke/unibilium" homepage="https://github.com/mauke/unibilium"
distfiles="https://github.com/mauke/${pkgname}/archive/v${version}.tar.gz" distfiles="https://github.com/mauke/${pkgname}/archive/v${version}.tar.gz"
checksum=78997d38d4c8177c60d3d0c1aa8c53fd0806eb21825b7b335b1768d7116bc1c1 checksum=78997d38d4c8177c60d3d0c1aa8c53fd0806eb21825b7b335b1768d7116bc1c1
@ -14,8 +14,8 @@ checksum=78997d38d4c8177c60d3d0c1aa8c53fd0806eb21825b7b335b1768d7116bc1c1
do_build() { do_build() {
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
cp /usr/bin/libtool . cp /usr/bin/libtool .
sed -e "s,CCLD=.*,CCLD=$CC,g;s,CC=.*,CC=$CC,g" -i libtool vsed -e "s,CCLD=.*,CCLD=$CC,g;s,CC=.*,CC=$CC,g" -i libtool
sed -e 's,libtool,./libtool,g' -i Makefile vsed -e 's,libtool,./libtool,g' -i Makefile
fi fi
make ${makejobs} make ${makejobs}
} }