summaryrefslogtreecommitdiffstats
path: root/abs/core/xorg-fonts-alias/PKGBUILD
blob: b337f821a8fe45385109b3396fa1008c46bc4e3a (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$
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-fonts-alias
pkgver=1.0.3
pkgrel=1
pkgdesc="X.org font alias files"
arch=('any')
url="https://xorg.freedesktop.org/"
license=('custom')
source=("${url}/releases/individual/font/font-alias-${pkgver}.tar.bz2"
        'LICENSE')
md5sums=('6d25f64796fef34b53b439c2e9efa562'
         'ff91ae6d96d76130482d04653e7a836a')

build() {
  cd "${srcdir}/font-alias-${pkgver}"
  ./configure --prefix=/usr --with-fontrootdir=/usr/share/fonts
  make
}

package() {
  cd "${srcdir}/font-alias-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}