ftgl: fix license=, homepage= and add missing vlicense

This commit is contained in:
maxice8 2019-01-03 08:56:14 -02:00 committed by maxice8
parent 37546b3abf
commit 8ce91d4cc2
1 changed files with 10 additions and 6 deletions

View File

@ -1,9 +1,9 @@
# Template build file for 'ftgl'. # Template file for 'ftgl'
pkgname=ftgl pkgname=ftgl
_distver=2.1.3 _distver=2.1.3
_distrcver=rc5 _distrcver=rc5
version=${_distver}${_distrcver} version="${_distver}${_distrcver}"
revision=7 revision=8
wrksrc="ftgl-${_distver}~${_distrcver}" wrksrc="ftgl-${_distver}~${_distrcver}"
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static" configure_args="--disable-static"
@ -11,14 +11,18 @@ hostmakedepends="pkg-config"
makedepends="freetype-devel zlib-devel glu-devel" makedepends="freetype-devel zlib-devel glu-devel"
short_desc="OpenGL library to use arbitrary fonts" short_desc="OpenGL library to use arbitrary fonts"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://ftgl.wiki.sourceforge.net/" license="MIT-advertising"
license="MIT" homepage="https://sourceforge.net/projects/ftgl/"
distfiles="${SOURCEFORGE_SITE}/ftgl/ftgl-${_distver}-${_distrcver}.tar.bz2" distfiles="${SOURCEFORGE_SITE}/ftgl/ftgl-${_distver}-${_distrcver}.tar.bz2"
checksum=521ff7bd62c459ff5372e269c223e2a6107a6a99a36afdc2ae634a973af70c59 checksum=521ff7bd62c459ff5372e269c223e2a6107a6a99a36afdc2ae634a973af70c59
post_install() {
vlicense COPYING
}
ftgl-devel_package() { ftgl-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}" depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig