aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-19 11:23:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-19 11:23:49 +0000
commit6a3353563b226569a73920d63a1ef672043b21b5 (patch)
treeeb51ac6e556ea17a9c4b28924886c30736486f01
parentf33634ab0d907ed7bf545a670e4c819cc74bfbb3 (diff)
downloadaports-6a3353563b226569a73920d63a1ef672043b21b5.tar.bz2
aports-6a3353563b226569a73920d63a1ef672043b21b5.tar.xz
main/ttf-linux-libertine: upgrade to 5.1.3
-rw-r--r--main/ttf-linux-libertine/APKBUILD24
1 files changed, 10 insertions, 14 deletions
diff --git a/main/ttf-linux-libertine/APKBUILD b/main/ttf-linux-libertine/APKBUILD
index 9e1882d93c..b4445fc840 100644
--- a/main/ttf-linux-libertine/APKBUILD
+++ b/main/ttf-linux-libertine/APKBUILD
@@ -1,37 +1,33 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ttf-linux-libertine
-pkgver=4.7.5
-pkgrel=1
+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="all"
+arch="noarch"
license="GPL custom:OFL"
makedepends=
depends="fontconfig encodings mkfontdir mkfontscale"
install=
subpackages="$pkgname-doc"
-source="http://downloads.sourceforge.net/sourceforge/linuxlibertine/LinLibertineFont-$pkgver-2.tgz"
+source="http://downloads.sourceforge.net/project/linuxlibertine/linuxlibertine/$pkgver/LinLibertineTTF-${pkgver}_$_date.tgz"
-_builddir="$srcdir"/LinLibertine
+_builddir="$srcdir"
build () {
local f
# strip off the version numbers from the filenames.
cd "$_builddir"
- for f in Fonts/*.ttf; do
+ for f in *.ttf; do
mv $f ${f%-[0-9]*}.ttf
done
- for f in Fonts/*.otf; do
- mv $f ${f%-[0-9]*}.otf
- done
}
package() {
cd "$_builddir"
- install -d -m 755 "$pkgdir"/usr/share/fonts/OTF \
- "$pkgdir"/usr/share/fonts/TTF
- install -m644 Fonts/*.ttf "$pkgdir"/usr/share/fonts/TTF || return 1
- install -m644 Fonts/*.otf "$pkgdir"/usr/share/fonts/OTF || return 1
+ 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="789b4d8f0dd93b7234b7996e54a6a983 LinLibertineFont-4.7.5-2.tgz"
+md5sums="9164f5e202b1912015e43718fba94cc3 LinLibertineTTF-5.1.3_2011_06_15.tgz"