# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ttf-linux-libertine
pkgver=5.3.0
_date="2012_07_02"
pkgrel=0
pkgdesc="Serif (Libertine) and Sans Serif (Biolinum) OpenType fonts with large Unicode coverage"
url="http://linuxlibertine.sourceforge.net/"
arch="noarch"
license="GPL custom:OFL"
makedepends=
depends="fontconfig encodings mkfontdir mkfontscale"
install=
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/project/linuxlibertine/linuxlibertine/$pkgver/LinLibertineTTF_${pkgver}_$_date.tgz"

_builddir="$srcdir"
build () {
	return 0
}

package() {
	cd "$_builddir"
#	install -dm755 "${pkgdir}"/usr/share/fonts/OTF || return 1
	install -dm755 "${pkgdir}"/usr/share/fonts/TTF || return 1
	install -m644 *.ttf "${pkgdir}"/usr/share/fonts/TTF || return 1
#	install -m644 *.otf "${pkgdir}"/usr/share/fonts/OTF || return 1
#	install -D -m644 OFL.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE || return 1
	install -D -m644 LICENCE.txt "$pkgdir"/usr/share/licenses/$pkgname/README || return 1
}
sha512sums="ea9af8d47d22e5f35be65fbae08c7230602a57abe6f39e9a63a5761a69e519fe4e4ac41b878764035fdf8a2c8ee855c0cb9b0077a216d8ba5a2ddf615913e273  LinLibertineTTF_5.3.0_2012_07_02.tgz"
