summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Frankenau2015-06-17 09:55:47 +0200
committerJohannes Frankenau2015-06-17 09:55:47 +0200
commit4c2e49c52048174e5201dd31971f6e8fdf31fd60 (patch)
treea852e8f432acacccfff970317d7b881f488cecba
downloadaur-4c2e49c52048174e5201dd31971f6e8fdf31fd60.tar.gz
Initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD21
-rw-r--r--tamzen-font.install15
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..32d6509ca87
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = tamzen-font
+ pkgdesc = Programmatic fork of the Tamsyn monospace font.
+ pkgver = 1.11
+ pkgrel = 1
+ url = https://github.com/sunaku/tamzen-font
+ install = tamzen-font.install
+ arch = any
+ license = custom
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = https://github.com/sunaku/tamzen-font/archive/v1.11.tar.gz
+ sha256sums = 997e9dd2eaf647bddb72eced541ed9d65e2fc5d1883caaf811331fdd43fc82ec
+
+pkgname = tamzen-font
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cd1953e14fb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+pkgname=tamzen-font
+pkgver=1.11
+pkgrel=1
+pkgdesc='Programmatic fork of the Tamsyn monospace font.'
+arch=('any')
+url="https://github.com/sunaku/${pkgname}"
+license=('custom')
+depends=('fontconfig' 'xorg-font-utils')
+install="${pkgname}.install"
+source=("https://github.com/sunaku/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('997e9dd2eaf647bddb72eced541ed9d65e2fc5d1883caaf811331fdd43fc82ec')
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ install -d "${pkgdir}/usr/share/fonts/misc"
+ install -m644 *.bdf "${pkgdir}/usr/share/fonts/misc/"
+
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
+}
diff --git a/tamzen-font.install b/tamzen-font.install
new file mode 100644
index 00000000000..94a10de5244
--- /dev/null
+++ b/tamzen-font.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache ... "
+ fc-cache -s >/dev/null 2>&1
+ mkfontscale /usr/share/fonts/misc
+ mkfontdir /usr/share/fonts/misc
+ echo "done!"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}