summaryrefslogtreecommitdiffstats
path: root/abs/core/xorg-fonts-encodings/PKGBUILD
blob: c465a748aba78f6e3b45b922f42b5aab807468b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 57486 2009-10-31 18:28:17Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-fonts-encodings
pkgver=1.0.3
pkgrel=2
pkgdesc="X.org font encoding files"
arch=(any)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('xorg-font-utils')
install=xorg-fonts-encodings.install
source=(${url}/releases/individual/font/encodings-${pkgver}.tar.bz2)
md5sums=('29637480e7ce12546668631067c19ced')

build() {
  cd "${srcdir}/encodings-${pkgver}"
  ./configure --prefix=/usr \
      --with-encodingsdir=/usr/share/fonts/encodings || return 1
  make || return 1
}
package() {
  cd "${srcdir}/encodings-${pkgver}"
  make DESTDIR="${pkgdir}" install || return 1
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}