summaryrefslogtreecommitdiffstats
path: root/abs/core/xorg-mkfontscale
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/xorg-mkfontscale')
-rw-r--r--abs/core/xorg-mkfontscale/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/core/xorg-mkfontscale/PKGBUILD b/abs/core/xorg-mkfontscale/PKGBUILD
new file mode 100644
index 0000000..089af1e
--- /dev/null
+++ b/abs/core/xorg-mkfontscale/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 149834 2012-02-11 10:04:54Z andyrtr $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=xorg-mkfontscale
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Create an index of scalable font files for X"
+arch=(i686 x86_64)
+url="http://xorg.freedesktop.org/"
+license=('custom')
+depends=('freetype2' 'libfontenc')
+makedepends=('xorg-util-macros' 'xproto')
+groups=('xorg-apps' 'xorg')
+source=(http://xorg.freedesktop.org/archive/individual/app/mkfontscale-${pkgver}.tar.bz2)
+sha1sums=('ba021369ae3b364ba083b9eb5e570e54b21fd583')
+
+build() {
+ cd "${srcdir}/mkfontscale-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/mkfontscale-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}