diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-06 12:14:14 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-06 12:14:14 +0000 |
commit | 54ecee2f1eeeb6e75ee85b1dfad617ac20b84203 (patch) | |
tree | 832f28bcd6d09ed88ad615fa16d2edebdfc7eb78 /main/ttf-linux-libertine/APKBUILD | |
parent | 731f27da0e065c27b6c782e9c120df5aaee18e6f (diff) | |
download | aports-54ecee2f1eeeb6e75ee85b1dfad617ac20b84203.tar.bz2 aports-54ecee2f1eeeb6e75ee85b1dfad617ac20b84203.tar.xz |
main/ttf-linux-libertine: upgrade to 4.7.5
Diffstat (limited to 'main/ttf-linux-libertine/APKBUILD')
-rw-r--r-- | main/ttf-linux-libertine/APKBUILD | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/main/ttf-linux-libertine/APKBUILD b/main/ttf-linux-libertine/APKBUILD index 2837358cd2..482d6eef1d 100644 --- a/main/ttf-linux-libertine/APKBUILD +++ b/main/ttf-linux-libertine/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ttf-linux-libertine -pkgver=4.4.1 +pkgver=4.7.5 pkgrel=0 pkgdesc="Serif (Libertine) and Sans Serif (Biolinum) OpenType fonts with large Unicode coverage" url="http://linuxlibertine.sourceforge.net/" @@ -9,27 +9,28 @@ makedepends= depends="fontconfig encodings mkfontdir mkfontscale" install= subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/sourceforge/linuxlibertine/LinLibertineFont-$pkgver.tgz" +source="http://downloads.sourceforge.net/sourceforge/linuxlibertine/LinLibertineFont-$pkgver-2.tgz" +_builddir="$srcdir"/LinLibertine build () { local f # strip off the version numbers from the filenames. - cd "$srcdir"/LinLibertineFont - for f in *.ttf; do + cd "$_builddir" + for f in Fonts/*.ttf; do mv $f ${f%-[0-9]*}.ttf done - for f in *.otf; do + for f in Fonts/*.otf; do mv $f ${f%-[0-9]*}.otf done } package() { - cd "$srcdir"/LinLibertineFont + cd "$_builddir" install -d -m 755 "$pkgdir"/usr/share/fonts/OTF \ "$pkgdir"/usr/share/fonts/TTF - install -m644 *.ttf "$pkgdir"/usr/share/fonts/TTF || return 1 - install -m644 *.otf "$pkgdir"/usr/share/fonts/OTF || return 1 + install -m644 Fonts/*.ttf "$pkgdir"/usr/share/fonts/TTF || return 1 + install -m644 Fonts/*.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 } -md5sums="297f537b31693c92c1aceaa0aeccb115 LinLibertineFont-4.4.1.tgz" +md5sums="789b4d8f0dd93b7234b7996e54a6a983 LinLibertineFont-4.7.5-2.tgz" |