aboutsummaryrefslogtreecommitdiffstats
path: root/main/ttf-linux-libertine/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/ttf-linux-libertine/APKBUILD')
-rw-r--r--main/ttf-linux-libertine/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/main/ttf-linux-libertine/APKBUILD b/main/ttf-linux-libertine/APKBUILD
new file mode 100644
index 0000000000..b4445fc840
--- /dev/null
+++ b/main/ttf-linux-libertine/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=ttf-linux-libertine
+pkgver=5.1.3
+_date="2011_06_15"
+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 () {
+ local f
+ # strip off the version numbers from the filenames.
+ cd "$_builddir"
+ for f in *.ttf; do
+ mv $f ${f%-[0-9]*}.ttf
+ done
+}
+
+package() {
+ cd "$_builddir"
+ install -d -m 755 "$pkgdir"/usr/share/fonts/TTF
+ install -m644 *.ttf "$pkgdir"/usr/share/fonts/TTF || 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
+}
+md5sums="9164f5e202b1912015e43718fba94cc3 LinLibertineTTF-5.1.3_2011_06_15.tgz"