summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e18a7f9a31c3dc68c9ce5ee9ec1f3b3ec07003fc (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
# Maintainer: Andreas Bosch (progandy) <linux+aur@progandy.de>

pkgname=fonttosfnt
pkgver=1.1.0
pkgrel=1
pkgdesc="Convert a set of bdf or pcf fonts in a bitmap only sfnt (otb)."
arch=(x86_64)
url="https://gitlab.freedesktop.org/xorg/app/fonttosfnt"
license=('MIT')
depends=(libfontenc freetype2)
makedepends=(make autoconf automake xorgproto)
source=("https://xorg.freedesktop.org/archive/individual/app/fonttosfnt-$pkgver.tar.gz"{,.sig})
sha256sums=('a83261120dd0742166fc93a610b254daa6db764ed35a7b96f4a8f96dc9a94792'
            'SKIP')
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF')

build() {
	cd "$pkgname-$pkgver"
	./configure --prefix=/usr
	make
}

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