archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libxfont2 / trunk / PKGBUILD
blob7fc6e9f47857dfc5adbae84d2e7884dcf7b02dbc
1 # Maintainer: Laurent Carlier <lordheavym@gmail.com>
3 pkgname=libxfont2
4 pkgver=2.0.5
5 pkgrel=1
6 pkgdesc="X11 font rasterisation library"
7 arch=(x86_64)
8 url="https://xorg.freedesktop.org/"
9 license=('custom')
10 depends=('freetype2' 'libfontenc')
11 makedepends=('xorg-util-macros' 'xtrans' 'xorgproto')
12 source=(${url}/archive/individual/lib/libXfont2-${pkgver}.tar.bz2{,.sig})
13 sha512sums=('64d0635d14676bb645d61932afb177eb3808a46525b26e7ee31abc975eca75207743e85523fdd82b08010ce124eb4802338b508ee7b126875d2a3c12f8ac4faa'
14             'SKIP')
15 #validpgpkeys=('C383B778255613DFDB409D91DB221A6900000011') # Keith Packard <keithp@keithp.com>
16 #validpgpkeys+=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2') # "Adam Jackson <ajax@nwnk.net>"
17 #validpgpkeys+=('C41C985FDCF1E5364576638B687393EE37D128F8') # "Matthieu Herrb <matthieu.herrb@laas.fr>"
18 validpgpkeys+=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') #  "Alan Coopersmith <alan.coopersmith@oracle.com>"
20 build() {
21   cd "libXfont2-${pkgver}"
22   ./configure --prefix=/usr --sysconfdir=/etc --disable-static
23   make
26 package() {
27   cd "libXfont2-${pkgver}"
28   make DESTDIR="${pkgdir}" install
29   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
30   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"