summaryrefslogtreecommitdiffstats
path: root/abs/core/xorg-fonts-misc
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/xorg-fonts-misc
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core/xorg-fonts-misc')
-rw-r--r--abs/core/xorg-fonts-misc/PKGBUILD45
-rw-r--r--abs/core/xorg-fonts-misc/xfonts.install20
2 files changed, 65 insertions, 0 deletions
diff --git a/abs/core/xorg-fonts-misc/PKGBUILD b/abs/core/xorg-fonts-misc/PKGBUILD
new file mode 100644
index 0000000..6c51349
--- /dev/null
+++ b/abs/core/xorg-fonts-misc/PKGBUILD
@@ -0,0 +1,45 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+#Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=xorg-fonts-misc
+pkgver=1.0.0
+pkgrel=3
+pkgdesc="X.org misc fonts"
+arch=(i686 x86_64)
+url="http://xorg.freedesktop.org/"
+depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig)
+install=xfonts.install
+source=(${url}/releases/individual/font/font-arabic-misc-${pkgver}.tar.bz2
+ ${url}/releases/individual/font/font-cursor-misc-${pkgver}.tar.bz2
+ ${url}/releases/individual/font/font-daewoo-misc-${pkgver}.tar.bz2
+ ${url}/releases/individual/font/font-dec-misc-${pkgver}.tar.bz2
+ ${url}/releases/individual/font/font-isas-misc-${pkgver}.tar.bz2
+ ${url}/releases/individual/font/font-jis-misc-${pkgver}.tar.bz2
+ ${url}/releases/individual/font/font-micro-misc-${pkgver}.tar.bz2
+ ${url}/releases/individual/font/font-misc-misc-${pkgver}.tar.bz2
+ ${url}/releases/individual/font/font-mutt-misc-${pkgver}.tar.bz2
+ ${url}/releases/individual/font/font-schumacher-misc-${pkgver}.tar.bz2
+ ${url}/releases/individual/font/font-sony-misc-${pkgver}.tar.bz2
+ ${url}/releases/individual/font/font-sun-misc-${pkgver}.tar.bz2)
+
+md5sums=(81595016e2ff859716fc256ebb136ba6 305fa22cdfefb8f80babd711051a534b
+ 61f9eab48c619af5494d3e384d8d7d79 284e554db1c64fb7580a06df01444a2b
+ ec709a96b64b497a5cb5658c93bd38dc 61febb49a71065723a1fba17cbf23c67
+ 8c8bffd7540f05caa0dbb4e6e1d6c58e 2a57f6188c41d4bc1b88ca3d08ad011d
+ 648b409b7eb78ad1cd5f6d7fac3eef88 f1c6063d2fadc57e696a0aab69afd6e0
+ 0dfddd1a946e4497f009094c0ae1bdd5 e17d43a7c6c0d862cfba0908ff132ffa)
+
+build() {
+ cd ${startdir}/src
+ for dir in font-*-misc-${pkgver}; do
+ pushd ${dir}
+ ./configure --prefix=/usr \
+ --with-mapfiles=/usr/share/fonts/util \
+ --with-fontdir=/usr/share/fonts/misc
+ make || return 1
+ make DESTDIR=${startdir}/pkg install || return 1
+ popd
+ rm -f ${startdir}/pkg/usr/share/fonts/*/fonts.*
+ done
+}
+
diff --git a/abs/core/xorg-fonts-misc/xfonts.install b/abs/core/xorg-fonts-misc/xfonts.install
new file mode 100644
index 0000000..6b5cf74
--- /dev/null
+++ b/abs/core/xorg-fonts-misc/xfonts.install
@@ -0,0 +1,20 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -f > /dev/null
+ mkfontscale /usr/share/fonts/misc
+ mkfontdir /usr/share/fonts/misc
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
+op=$1
+shift
+
+$op $*