diff options
Diffstat (limited to 'abs/core/xorg-mkfontdir/PKGBUILD')
-rw-r--r-- | abs/core/xorg-mkfontdir/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/core/xorg-mkfontdir/PKGBUILD b/abs/core/xorg-mkfontdir/PKGBUILD new file mode 100644 index 0000000..2089bd9 --- /dev/null +++ b/abs/core/xorg-mkfontdir/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 149832 2012-02-11 10:00:49Z andyrtr $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=xorg-mkfontdir +pkgver=1.0.7 +pkgrel=1 +pkgdesc="Create an index of X font files in a directory" +arch=(any) +url="http://xorg.freedesktop.org/" +license=('custom') +depends=('sh' 'xorg-mkfontscale') +makedepends=('xorg-util-macros') +groups=('xorg' 'xorg-apps') +source=(http://xorg.freedesktop.org/archive/individual/app/mkfontdir-${pkgver}.tar.bz2) +sha1sums=('3c06dad8a5fbf7362b51fb7d6b1ab805eba40336') + +build() { + cd "${srcdir}/mkfontdir-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/mkfontdir-${pkgver}" + make DESTDIR="${pkgdir}" install + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +} |