summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeposite Pirate2018-09-17 11:16:59 +0200
committerDeposite Pirate2018-09-17 11:16:59 +0200
commit5e19a5cf9742193b4aa9e34143a79ecac543e379 (patch)
tree22828ac8765bf5cdee0c1584d4bac3468b761577
parent4f9fa801504f70bc64eaa178268345c9b12299db (diff)
ttf-fixedsys-excelsior-linux.
-rw-r--r--ttf-fixedsys-excelsior-linux/.SRCINFO18
-rw-r--r--ttf-fixedsys-excelsior-linux/.gitignore1
-rw-r--r--ttf-fixedsys-excelsior-linux/PKGBUILD20
-rw-r--r--ttf-fixedsys-excelsior-linux/ttf-fixedsys-excelsior-linux.install13
4 files changed, 52 insertions, 0 deletions
diff --git a/ttf-fixedsys-excelsior-linux/.SRCINFO b/ttf-fixedsys-excelsior-linux/.SRCINFO
new file mode 100644
index 0000000..b377ae6
--- /dev/null
+++ b/ttf-fixedsys-excelsior-linux/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = ttf-fixedsys-excelsior-linux
+ pkgdesc = fixedsys font for linux, use only at 12pt
+ pkgver = 3.02.9
+ pkgrel = 1
+ url = https://github.com/kika/fixedsys
+ install = ttf-fixedsys-excelsior-linux.install
+ arch = any
+ license = custom
+ depends = fontconfig
+ depends = xorg-fonts-encodings
+ depends = xorg-font-utils
+ source = https://github.com/kika/fixedsys/releases/download/v3.02.9/FSEX302.ttf
+ source = https://github.com/kika/fixedsys/releases/download/v3.02.9/FSEX302-alt.ttf
+ sha256sums = b3f8e1da97b722a42477ee9a72f953eb2bc7c2195df5e2b6b7d4781dd3f8b2cc
+ sha256sums = e4abb547b387d4676892f2db7c4a19d5cda0a91680ccc52331b2b49456e307da
+
+pkgname = ttf-fixedsys-excelsior-linux
+
diff --git a/ttf-fixedsys-excelsior-linux/.gitignore b/ttf-fixedsys-excelsior-linux/.gitignore
new file mode 100644
index 0000000..d259f05
--- /dev/null
+++ b/ttf-fixedsys-excelsior-linux/.gitignore
@@ -0,0 +1 @@
+*.ttf
diff --git a/ttf-fixedsys-excelsior-linux/PKGBUILD b/ttf-fixedsys-excelsior-linux/PKGBUILD
new file mode 100644
index 0000000..81cbaf4
--- /dev/null
+++ b/ttf-fixedsys-excelsior-linux/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Deposite Pirate <dpirate at metalpunks dot info>
+
+pkgname=ttf-fixedsys-excelsior-linux
+pkgver=3.02.9
+pkgrel=1
+pkgdesc="fixedsys font for linux, use only at 12pt"
+arch=('any')
+url="https://github.com/kika/fixedsys"
+depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
+license=('custom')
+install="ttf-fixedsys-excelsior-linux.install"
+source=("${url}/releases/download/v${pkgver}/FSEX302.ttf"
+ "${url}/releases/download/v${pkgver}/FSEX302-alt.ttf")
+sha256sums=('b3f8e1da97b722a42477ee9a72f953eb2bc7c2195df5e2b6b7d4781dd3f8b2cc'
+ 'e4abb547b387d4676892f2db7c4a19d5cda0a91680ccc52331b2b49456e307da')
+
+package() {
+ install -dm755 "${pkgdir}/usr/share/fonts/TTF"
+ install -m644 FSEX*.ttf "${pkgdir}/usr/share/fonts/TTF"
+}
diff --git a/ttf-fixedsys-excelsior-linux/ttf-fixedsys-excelsior-linux.install b/ttf-fixedsys-excelsior-linux/ttf-fixedsys-excelsior-linux.install
new file mode 100644
index 0000000..18666d2
--- /dev/null
+++ b/ttf-fixedsys-excelsior-linux/ttf-fixedsys-excelsior-linux.install
@@ -0,0 +1,13 @@
+post_install() {
+ fc-cache -fs
+ mkfontscale usr/share/fonts/TTF
+ mkfontdir usr/share/fonts/TTF
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}