diff options
author | qothr | 2016-10-09 19:37:02 +0900 |
---|---|---|
committer | qothr | 2016-10-09 19:37:02 +0900 |
commit | eb5c3531134bb7d1b11bbc8bfcf9cfdc1817ce87 (patch) | |
tree | 9270a78ded435f231e551af029e2f89f45684ca5 | |
download | aur-eb5c3531134bb7d1b11bbc8bfcf9cfdc1817ce87.tar.gz |
initial
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | LICENSE | 10 | ||||
-rw-r--r-- | PKGBUILD | 23 | ||||
-rw-r--r-- | otf-oriental.install | 15 |
4 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..088257181ba5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Sun Oct 9 10:30:58 UTC 2016 +pkgbase = otf-oriental + pkgdesc = Japanese geometrical retro style Katakana font. + pkgver = 1.00 + pkgrel = 1 + url = http://fontopo.com/?p=87 + install = otf-oriental.install + arch = any + license = custom + depends = fontconfig + depends = xorg-font-utils + source = oriental.zip::https://github.com/qothr/cabinet/blob/master/oriental.zip?raw=true + md5sums = 94a736491b24519ac504e8d7fa7ac7e8 + +pkgname = otf-oriental + diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000000..1eef41b8c0eb --- /dev/null +++ b/LICENSE @@ -0,0 +1,10 @@ + +Copied from http://fontopo.com/?page_id=47 : + +フォントの利用について + +当サイトのフォントは全て無料でダウンロード、商用利用が可能です。 +ただし、「はれのそら明朝」「フォントポにほんご」「ぼくたちのゴシック」については IPAフォントライセンスv1.0 を、「ぼくたちのゴシック2」については Apache License 2.0 を熟読のうえ、ご手配ご利用をお願いいたします。 +IPAフォントライセンスv1.0 +Apache License 2.0 +当サイトでは、上記ライセンスについてのご相談はお受けしておりません。 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6a975529c3d5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: yuhr <sdn.pate(at)gmail.com> + +pkgname=otf-oriental +pkgver=1.00 +pkgrel=1 +pkgdesc="Japanese geometrical retro style Katakana font." +url="http://fontopo.com/?p=87" +license=('custom') +arch=('any') +depends=('fontconfig' 'xorg-font-utils') +install=$pkgname.install +source=(oriental.zip::https://github.com/qothr/cabinet/blob/master/oriental.zip?raw=true) +md5sums=('94a736491b24519ac504e8d7fa7ac7e8') + +package() { + cd ${srcdir} + install -dm755 "${pkgdir}"/usr/share/fonts/OTF + install -m644 FontopoORIENTAL.otf "${pkgdir}"/usr/share/fonts/OTF/ + + cd ${pkgdir} + install -d "${pkgdir}/usr/share/licenses/${pkgname}/" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/" +} diff --git a/otf-oriental.install b/otf-oriental.install new file mode 100644 index 000000000000..44f7f11ea4c7 --- /dev/null +++ b/otf-oriental.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 +} |