summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornoonov2015-06-08 20:15:13 +0900
committernoonov2015-06-08 20:15:13 +0900
commit51aad48fd9def31e4db3add76021e400cd138464 (patch)
treed3f2b96ac41ee2d3f44dd427b34f38c4882671d8
downloadaur-51aad48fd9def31e4db3add76021e400cd138464.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD24
-rw-r--r--ttf.install15
3 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b2eef4172cb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = ttf-meguri
+ pkgdesc = Modified IPA and M+ fonts for Japanese
+ pkgver = 20101113a
+ pkgrel = 4
+ 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://downloads.sourceforge.net/mdk-ut/meguri-fonts-20101113a.tar.lzma
+ md5sums = fc3352bbea9712ad685ccfc43333e8ad
+ sha256sums = 77599ce97a2ead6e7aa714d05855c790ed4664e88fc79cf6eab9c579eb2e1c09
+
+pkgname = ttf-meguri
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..018d4279ad3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Contributor: noonov <noonov@gmail.com>
+
+pkgname=ttf-meguri
+pkgver=20101113a
+pkgrel=4
+pkgdesc="Modified IPA and M+ fonts for Japanese"
+arch=('any')
+url="http://www.geocities.jp/ep3797/modified_fonts_01.html"
+license=('custom')
+depends=('fontconfig' 'xorg-font-utils')
+install=ttf.install
+source=(http://downloads.sourceforge.net/mdk-ut/meguri-fonts-${pkgver}.tar.lzma)
+md5sums=('fc3352bbea9712ad685ccfc43333e8ad')
+sha256sums=('77599ce97a2ead6e7aa714d05855c790ed4664e88fc79cf6eab9c579eb2e1c09')
+
+package() {
+ cd ${srcdir}/meguri-fonts-${pkgver}
+
+ install -d ${pkgdir}/usr/share/fonts/TTF
+ install -m644 *.ttf ${pkgdir}/usr/share/fonts/TTF
+
+ install -D -m644 docs-ipa/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
+}