summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/ttf-dejavu
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/ttf-dejavu
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/ttf-dejavu')
-rw-r--r--abs/core-testing/ttf-dejavu/ChangeLog9
-rw-r--r--abs/core-testing/ttf-dejavu/PKGBUILD25
-rw-r--r--abs/core-testing/ttf-dejavu/ttf-dejavu.install13
3 files changed, 47 insertions, 0 deletions
diff --git a/abs/core-testing/ttf-dejavu/ChangeLog b/abs/core-testing/ttf-dejavu/ChangeLog
new file mode 100644
index 0000000..5c02e9f
--- /dev/null
+++ b/abs/core-testing/ttf-dejavu/ChangeLog
@@ -0,0 +1,9 @@
+2008-07-29 Alexander Fehr <pizzapunk gmail com>
+
+ * ttf-dejavu-2.26-1:
+ New upstream release.
+ New maintainer.
+ Renamed ttf.install to ttf-dejavu.install.
+ Added -s option to fc-cache in install file.
+ Removed install message.
+ Added ChangeLog.
diff --git a/abs/core-testing/ttf-dejavu/PKGBUILD b/abs/core-testing/ttf-dejavu/PKGBUILD
new file mode 100644
index 0000000..5cbbecc
--- /dev/null
+++ b/abs/core-testing/ttf-dejavu/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 7356 2008-07-31 01:07:11Z alexanderf $
+# Maintainer: Alexander Fehr <pizzapunk gmail com>
+# Contributor: Jan de Groot <jgc@archlinux.org>
+# Contributor: Michal Krenek <mikos@sg1.cz>
+
+pkgname=ttf-dejavu
+pkgver=2.26
+pkgrel=1
+pkgdesc="Font family based on the Bitstream Vera Fonts with a wider range of characters"
+arch=('i686' 'x86_64')
+url="http://dejavu.sourceforge.net/"
+license=('custom')
+depends=('fontconfig' 'xorg-fonts-encodings')
+install=ttf-dejavu.install
+source=(http://downloads.sourceforge.net/dejavu/dejavu-fonts-ttf-$pkgver.tar.bz2)
+md5sums=('bff450e8c1b3c9a3f38294ac44d81adc')
+
+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
+}
diff --git a/abs/core-testing/ttf-dejavu/ttf-dejavu.install b/abs/core-testing/ttf-dejavu/ttf-dejavu.install
new file mode 100644
index 0000000..18666d2
--- /dev/null
+++ b/abs/core-testing/ttf-dejavu/ttf-dejavu.install
@@ -0,0 +1,13 @@
+post_install() {
+ fc-cache -fs
+ mkfontscale usr/share/fonts/TTF
+ mkfontdir usr/share/fonts/TTF
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}