summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authororumin2015-06-14 01:55:14 +0900
committerorumin2015-06-14 01:55:14 +0900
commit93cf24acf9520cfbc46e31bc02fa87e53dd6e008 (patch)
tree2cd782e383fefd8b1a0e77c526059d8184bbe7d8
downloadaur-93cf24acf9520cfbc46e31bc02fa87e53dd6e008.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD21
-rw-r--r--ttf.install15
3 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dd86d2ef5c9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by makepkg 4.2.0
+# Tue Dec 30 14:53:41 UTC 2014
+pkgbase = ttf-koruri
+ pkgdesc = Japanese TrueType font obtained by mixing M+ and Open Sans
+ pkgver = 20141224
+ pkgrel = 1
+ url = http://sourceforge.jp/projects/koruri
+ install = ttf.install
+ arch = any
+ license = APACHE
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = http://jaist.dl.sourceforge.jp/koruri/62469/Koruri-20141224.tar.xz
+ md5sums = 21b1e8b0a011649e37fddf0e2bf61305
+
+pkgname = ttf-koruri
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bb58937caad
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Contributor: orumin <dev@orum.in>
+
+pkgname=ttf-koruri
+pkgver=20141224
+pkgrel=2
+pkgdesc="Japanese TrueType font obtained by mixing M+ and Open Sans"
+arch=('any')
+url="http://sourceforge.jp/projects/koruri"
+license=('APACHE')
+depends=('fontconfig' 'xorg-font-utils')
+install=ttf.install
+_mirror=iij
+source=("Koruri-${pkgver}.tar.xz::http://osdn.jp/frs/redir.php?m=${_mirror}&f=%2Fkoruri%2F62469%2FKoruri-${pkgver}.tar.xz")
+md5sums=('21b1e8b0a011649e37fddf0e2bf61305')
+
+package() {
+ cd "${srcdir}"
+
+ install -d "${pkgdir}/usr/share/fonts/TTF"
+ install -m644 "Koruri-${pkgver}"/*.ttf "${pkgdir}/usr/share/fonts/TTF"
+}
diff --git a/ttf.install b/ttf.install
new file mode 100644
index 00000000000..4d5d74ff35a
--- /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
+}