archrelease: copy trunk to extra-x86_64
[arch-packages.git] / xorg-mkfontscale / repos / extra-x86_64 / PKGBUILD
blob2550242cc59405a884443d72aa1a4b333ca67ce6
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
3 pkgname=xorg-mkfontscale
4 pkgver=1.2.2
5 pkgrel=1
6 pkgdesc="Create an index of scalable font files for X"
7 arch=(x86_64)
8 url="https://xorg.freedesktop.org/"
9 license=('custom')
10 install=xorg-mkfontscale.install
11 depends=('freetype2' 'libfontenc')
12 makedepends=('xorg-util-macros' 'xorgproto')
13 groups=('xorg-apps' 'xorg')
14 provides=('xorg-mkfontdir')
15 conflicts=('xorg-mkfontdir')
16 replaces=('xorg-mkfontdir')
17 source=(https://xorg.freedesktop.org/archive/individual/app/mkfontscale-${pkgver}.tar.xz{,.sig}
18         xorg-mkfontscale.hook
19         xorg-mkfontscale.script)
20 sha512sums=('4c846816325347c91008d76b3a5610c1e58a8414fd55117e7ccf51310db4b20b8397ecf6c9177ff77322e27ee088bf034fd175c9210465c50b094bab8dada4b3'
21             'SKIP'
22             '3c42bd72d88200a63159e84f8b04045aaf5c176ef98711a4196fad92a96467103368212e13571a8eeef929b2c7affe6c40797f67596fccc955750dcf7c1b3646'
23             '2a53d38c85b962eaee534f6f3fad4122412a7200c6787fd8216eb191904e2e3727400606a73d6f09017016f6c1360e5148afbb8fbe16e35c5e5cd55dec635387')
24 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
26 build() {
27   cd "mkfontscale-${pkgver}"
28   ./configure --prefix=/usr
29   make
32 package() {
33   cd "mkfontscale-${pkgver}"
34   make DESTDIR="${pkgdir}" install
35   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
36   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
38   install -Dm644 ../xorg-mkfontscale.hook "${pkgdir}/usr/share/libalpm/hooks/xorg-mkfontscale.hook"
39   install -D ../xorg-mkfontscale.script "${pkgdir}/usr/share/libalpm/scripts/xorg-mkfontscale"