diff options
author | Valère Monseur | 2015-08-03 23:38:07 +0200 |
---|---|---|
committer | Valère Monseur | 2015-08-03 23:38:07 +0200 |
commit | 3873f4e48bf7f9def5a9059d3042bc4bedd513bb (patch) | |
tree | 0e7f11d9a62c7dc6be915765dd58f7560e89f157 | |
download | aur-3873f4e48bf7f9def5a9059d3042bc4bedd513bb.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 21 | ||||
-rw-r--r-- | ttf-c64-fonts.install | 13 |
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e281a4eefa7a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = ttf-c64-fonts + pkgdesc = Set of Commodore 64 truetype fonts + pkgver = 1.2 + pkgrel = 1 + url = http://style64.org/c64-truetype + install = ttf-c64-fonts.install + arch = any + license = custom + depends = xorg-fonts-encodings + depends = xorg-fonts-alias + depends = xorg-font-utils + depends = fontconfig + source = http://style64.org/file/C64_TrueType_v1.2-STYLE.zip + md5sums = b4e97f5c33671a2dc88a22b16b67b232 + +pkgname = ttf-c64-fonts + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ed6fd433ce74 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Valère Monseur <valere dot monseur at ymail dot com> + +pkgname=ttf-c64-fonts +pkgver=1.2 +pkgrel=1 +pkgdesc="Set of Commodore 64 truetype fonts" +arch=('any') +url="http://style64.org/c64-truetype" +license=('custom') +depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig') +install=ttf-c64-fonts.install +source=("http://style64.org/file/C64_TrueType_v${pkgver}-STYLE.zip") +md5sums=('b4e97f5c33671a2dc88a22b16b67b232') + +package() { + cd "${srcdir}/C64_TrueType_v${pkgver}-STYLE" + + install -Dm644 fonts/C64_Pro-STYLE.ttf "${pkgdir}"/usr/share/fonts/TTF/C64_Pro-STYLE.ttf + install -Dm644 fonts/C64_Pro_Mono-STYLE.ttf "${pkgdir}"/usr/share/fonts/TTF/C64_Pro_Mono-STYLE.ttf + install -Dm644 license.txt "${pkgdir}"/usr/share/licenses/"${pkgname}"/license.txt +} diff --git a/ttf-c64-fonts.install b/ttf-c64-fonts.install new file mode 100644 index 000000000000..6d29d86677b0 --- /dev/null +++ b/ttf-c64-fonts.install @@ -0,0 +1,13 @@ +post_install() { + fc-cache -s > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |