summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorqothr2016-10-21 03:08:49 +0900
committerqothr2016-10-21 03:08:49 +0900
commit4d4046b9ec5dbf7bf6b928c4367026288bd35113 (patch)
tree9f0e1f924c0c8b31b0c2ce0f401777b3fd771fe9
downloadaur-4d4046b9ec5dbf7bf6b928c4367026288bd35113.tar.gz
initial
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD22
-rw-r--r--ttf-cica.install15
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2cfde7536a4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Thu Oct 20 18:08:27 UTC 2016
+pkgbase = ttf-cica
+ pkgdesc = Composite font with Ubuntu Mono and Rounded Mgen+.
+ pkgver = 1.0.2
+ pkgrel = 1
+ url = https://github.com/miiton/Cica
+ install = ttf-cica.install
+ arch = any
+ license = custom
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = Cica.zip::https://github.com/qothr/cabinet/raw/master/Cica.zip
+ md5sums = afac6436cf774c4c76601cece36034b7
+
+pkgname = ttf-cica
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4b4540c4b0b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: yuhr <sdn.pate(at)gmail.com>
+
+pkgname=ttf-cica
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="Composite font with Ubuntu Mono and Rounded Mgen+."
+url="https://github.com/miiton/Cica"
+license=('custom')
+arch=('any')
+depends=('fontconfig' 'xorg-font-utils')
+install=$pkgname.install
+source=(Cica.zip::https://github.com/qothr/cabinet/raw/master/Cica.zip)
+md5sums=('afac6436cf774c4c76601cece36034b7')
+
+package() {
+ cd ${srcdir}
+ install -dm755 "${pkgdir}"/usr/share/fonts/TTF
+ install -m644 *.ttf "${pkgdir}"/usr/share/fonts/TTF/
+
+ install -d "${pkgdir}/usr/share/licenses/${pkgname}/"
+ install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
diff --git a/ttf-cica.install b/ttf-cica.install
new file mode 100644
index 00000000000..44f7f11ea4c
--- /dev/null
+++ b/ttf-cica.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache >/dev/null -f
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}