summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornoonov2015-06-08 20:15:13 +0900
committernoonov2015-06-08 20:15:13 +0900
commit346ea0c5610a8c67eab3ebc0a39cec8f45287a17 (patch)
tree4d2a6e63dac080b74715445d00d250aa69466fcc
downloadaur-346ea0c5610a8c67eab3ebc0a39cec8f45287a17.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD23
-rw-r--r--ttf.install15
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bcda2415961
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = ttf-monapo
+ pkgdesc = A Japanese font for viewing Japanese ascii arts properly
+ pkgver = 20090423
+ pkgrel = 5
+ url = http://www.geocities.jp/ep3797/modified_fonts_01.html
+ install = ttf.install
+ arch = any
+ license = custom
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = http://www.geocities.jp/ep3797/snapshot/modified_fonts/monapo-20090423.tar.bz2
+ md5sums = 978cf2c15b6153cb7fb924b4aa11ab93
+ sha256sums = acd472be301885dd7513d5b770d8db3b4f5e9425c0bfe9fd914cef1a4a16489f
+
+pkgname = ttf-monapo
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..946970d7178
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Contributor: noonov <noonov@gmail.com>
+
+pkgname=ttf-monapo
+pkgver=20090423
+pkgrel=5
+pkgdesc="A Japanese font for viewing Japanese ascii arts properly"
+arch=('any')
+url="http://www.geocities.jp/ep3797/modified_fonts_01.html"
+license=('custom')
+depends=('fontconfig' 'xorg-font-utils')
+install=ttf.install
+source=(http://www.geocities.jp/ep3797/snapshot/modified_fonts/monapo-${pkgver}.tar.bz2)
+md5sums=('978cf2c15b6153cb7fb924b4aa11ab93')
+sha256sums=('acd472be301885dd7513d5b770d8db3b4f5e9425c0bfe9fd914cef1a4a16489f')
+
+package() {
+ cd ${srcdir}/monapo-${pkgver}
+
+ install -D -m644 monapo.ttf ${pkgdir}/usr/share/fonts/TTF/monapo.ttf
+
+ install -D -m644 IPA_Font_License_Agreement_v1.0.txt \
+ ${pkgdir}/usr/share/licenses/${pkgname}/COPYING_IPA.txt
+}
diff --git a/ttf.install b/ttf.install
new file mode 100644
index 00000000000..16db3c130c7
--- /dev/null
+++ b/ttf.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -f -s >/dev/null
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}