summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a5e73aa9096519011deb20c622fc55cebea119b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Sebastian Wolf <fatmike303 at gmail dot com>
pkgname=ttf-c64
pkgver=1.2.1
pkgrel=1
pkgdesc="The best available C64 TrueType representation to date"
arch=('any')
url="http://style64.org/c64-truetype"
license=('http://style64.org/c64-truetype/license')
depends=('fontconfig' 'xorg-font-utils')
source=(http://style64.org/file/C64_TrueType_v${pkgver}-STYLE.zip)
install=$pkgname.install
sha256sums=('b630ff545df6fed324bd9b6dc7336b7b93e8777668f45cbb3679561f9960ef2d')

package() {
#	mkdir -p $pkgdir/usr/share/fonts/TTF
	install -D -m644 "${srcdir}/C64_TrueType_v$pkgver-STYLE/fonts/C64_Pro_Mono-STYLE.ttf" "${pkgdir}/usr/share/fonts/TTF/c64_pro_mono.ttf" || return 1
	install -D -m644 "${srcdir}/C64_TrueType_v$pkgver-STYLE/fonts/C64_Pro-STYLE.ttf" "${pkgdir}/usr/share/fonts/TTF/c64_pro.ttf" || return 1
	install -D -m644 $srcdir/C64_TrueType_v$pkgver-STYLE/license.txt "${pkgdir}/usr/share/licenses/ttf-c64/LICENSE" || return 1
}