figlet-fonts: drop noarch, install license

This commit is contained in:
fosslinux 2020-10-25 19:38:26 +11:00 committed by Piotr
parent bf691ccc08
commit d55f748a2e
1 changed files with 8 additions and 5 deletions

View File

@ -1,18 +1,20 @@
# Template file for 'figlet-fonts'
pkgname=figlet-fonts
version=20150508
revision=3
archs=noarch
revision=4
_figlet_version=2.2.5
create_wrksrc=yes
depends="figlet perl"
short_desc="Additional fonts for figlet"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD"
license="BSD-3-Clause"
homepage="http://www.figlet.org/fontdb.cgi"
distfiles="ftp://ftp.figlet.org/pub/figlet/fonts/contributed.tar.gz
ftp://ftp.figlet.org/pub/figlet/fonts/international.tar.gz"
ftp://ftp.figlet.org/pub/figlet/fonts/international.tar.gz
ftp://ftp.figlet.org/pub/figlet/program/unix/figlet-${_figlet_version}.tar.gz"
checksum="2c569e052e638b28e4205023ae717f7b07e05695b728e4c80f4ce700354b18c8
e6493f51c96f8671c29ab879a533c50b31ade681acfb59e50bae6b765e70c65a"
e6493f51c96f8671c29ab879a533c50b31ade681acfb59e50bae6b765e70c65a
bf88c40fd0f077dab2712f54f8d39ac952e4e9f2e1882f1195be9e5e4257417d"
do_install() {
vmkdir usr/share/figlet
@ -20,4 +22,5 @@ do_install() {
cp international/*.flf $DESTDIR/usr/share/figlet
vbin contributed/bdffonts/bdf2flf.pl bdf2flf
rm "${DESTDIR}/usr/share/figlet/banner.flf"
vlicense "figlet-${_figlet_version}/LICENSE"
}