summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/ttf-bitstream-vera
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-09 18:41:37 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-09 18:41:37 (GMT)
commit1c4b59e5d379ba44c9ba9e27750ebec49a597c0d (patch)
tree25fca8e6b7b683065d364d64865b60c6bb33bd2b /abs/core-testing/ttf-bitstream-vera
parentfbc08d61eff10b56a2fbab64a8dab5bdc1eb5edf (diff)
downloadlinhes_pkgbuild-1c4b59e5d379ba44c9ba9e27750ebec49a597c0d.zip
linhes_pkgbuild-1c4b59e5d379ba44c9ba9e27750ebec49a597c0d.tar.gz
linhes_pkgbuild-1c4b59e5d379ba44c9ba9e27750ebec49a597c0d.tar.bz2
gdb,telnet,patch,make,vte
Diffstat (limited to 'abs/core-testing/ttf-bitstream-vera')
-rw-r--r--abs/core-testing/ttf-bitstream-vera/PKGBUILD22
-rw-r--r--abs/core-testing/ttf-bitstream-vera/vera.install20
2 files changed, 42 insertions, 0 deletions
diff --git a/abs/core-testing/ttf-bitstream-vera/PKGBUILD b/abs/core-testing/ttf-bitstream-vera/PKGBUILD
new file mode 100644
index 0000000..d802ca4
--- /dev/null
+++ b/abs/core-testing/ttf-bitstream-vera/PKGBUILD
@@ -0,0 +1,22 @@
+# $Id
+# Maintainer: dorphell <dorphell@archlinux.org>
+
+pkgname=ttf-bitstream-vera
+pkgver=1.10
+pkgrel=5
+pkgdesc="Bitstream vera fonts"
+arch=(i686 x86_64)
+license=(custom)
+url="http://www.gnome.org/fonts"
+depends=(fontconfig xorg-fonts-encodings xorg-font-utils)
+install=vera.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/1.10/${pkgname}-${pkgver}.tar.bz2)
+md5sums=(bb22bd5b4675f5dbe17c6963d8c00ed6)
+
+build() {
+ cd ${startdir}/src/${pkgname}-${pkgver}
+ mkdir -p ${startdir}/pkg/usr/share/fonts/TTF
+ install -m644 *.ttf ${startdir}/pkg/usr/share/fonts/TTF/
+ mkdir -p ${startdir}/pkg/usr/share/licenses/custom/ttf-bitstream-vera
+ install -m644 COPYRIGHT.TXT ${startdir}/pkg/usr/share/licenses/custom/ttf-bitstream-vera/license.txt
+}
diff --git a/abs/core-testing/ttf-bitstream-vera/vera.install b/abs/core-testing/ttf-bitstream-vera/vera.install
new file mode 100644
index 0000000..4f5212e
--- /dev/null
+++ b/abs/core-testing/ttf-bitstream-vera/vera.install
@@ -0,0 +1,20 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -f > /dev/null
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
+op=$1
+shift
+
+$op $*