summaryrefslogtreecommitdiffstats
path: root/main/ttf-dejavu
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-25 16:43:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-25 16:43:57 +0000
commit9526ee659401dee7160f35cb62ded2779bcbbc99 (patch)
tree812ad73bde9c84dcc02a3acbc5db576369ca314a /main/ttf-dejavu
parent05e09c1126a898b6d0af491fef0401bf53e297f8 (diff)
downloadaports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.bz2
aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.xz
merged x11 repository into main
ref #255
Diffstat (limited to 'main/ttf-dejavu')
-rw-r--r--main/ttf-dejavu/APKBUILD27
l---------main/ttf-dejavu/ttf-dejavu.post-deinstall1
-rw-r--r--main/ttf-dejavu/ttf-dejavu.post-install6
l---------main/ttf-dejavu/ttf-dejavu.post-upgrade1
4 files changed, 35 insertions, 0 deletions
diff --git a/main/ttf-dejavu/APKBUILD b/main/ttf-dejavu/APKBUILD
new file mode 100644
index 000000000..a03d07ff5
--- /dev/null
+++ b/main/ttf-dejavu/APKBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=ttf-dejavu
+pkgver=2.29
+pkgrel=0
+pkgdesc="Font family based on the Bitstream Vera Fonts with a wider range of characters"
+url="http://dejavu.sourceforge.net/"
+license="custom"
+depends="fontconfig encodings mkfontdir mkfontscale"
+makedepends=""
+makedepends="pkgconfig font-util-dev"
+install="ttf-dejavu.post-install ttf-dejavu.post-upgrade ttf-dejavu.post-deinstall"
+source="http://downloads.sourceforge.net/dejavu/dejavu-fonts-ttf-$pkgver.tar.bz2
+ $install"
+
+
+build ()
+{
+ cd "$srcdir/dejavu-fonts-ttf-$pkgver"
+ mkdir -p "$pkgdir/usr/share/fonts/TTF" || return 1
+ install -m644 ttf/*.ttf "$pkgdir/usr/share/fonts/TTF" || return 1
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/ttf-dejavu/LICENSE" || return 1
+}
+
+md5sums="d8feb7d57d8b7cbac409df435daa9849 dejavu-fonts-ttf-2.29.tar.bz2
+856423a62dc28d29f91586286173b1ef ttf-dejavu.post-install
+856423a62dc28d29f91586286173b1ef ttf-dejavu.post-upgrade
+856423a62dc28d29f91586286173b1ef ttf-dejavu.post-deinstall"
diff --git a/main/ttf-dejavu/ttf-dejavu.post-deinstall b/main/ttf-dejavu/ttf-dejavu.post-deinstall
new file mode 120000
index 000000000..8d3da7cfd
--- /dev/null
+++ b/main/ttf-dejavu/ttf-dejavu.post-deinstall
@@ -0,0 +1 @@
+ttf-dejavu.post-install \ No newline at end of file
diff --git a/main/ttf-dejavu/ttf-dejavu.post-install b/main/ttf-dejavu/ttf-dejavu.post-install
new file mode 100644
index 000000000..90aedc0b1
--- /dev/null
+++ b/main/ttf-dejavu/ttf-dejavu.post-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+fc-cache -fs
+mkfontscale usr/share/fonts/TTF
+mkfontdir usr/share/fonts/TTF
+
diff --git a/main/ttf-dejavu/ttf-dejavu.post-upgrade b/main/ttf-dejavu/ttf-dejavu.post-upgrade
new file mode 120000
index 000000000..8d3da7cfd
--- /dev/null
+++ b/main/ttf-dejavu/ttf-dejavu.post-upgrade
@@ -0,0 +1 @@
+ttf-dejavu.post-install \ No newline at end of file