diff options
author | Matthew Longley | 2015-06-30 01:17:24 -0500 |
---|---|---|
committer | Matthew Longley | 2015-06-30 01:17:24 -0500 |
commit | fd0353334ddf4fd7667b01dccc012e5a49a3eaee (patch) | |
tree | 996aff2b641b2da551085e76d2841c992fb10867 | |
download | aur-fd0353334ddf4fd7667b01dccc012e5a49a3eaee.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 24 | ||||
-rwxr-xr-x | license.txt | 27 | ||||
-rwxr-xr-x | ttf.install | 20 |
4 files changed, 93 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ad25d8c247b4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +# Generated by makepkg 4.2.0 +# Tue Jan 27 21:37:52 UTC 2015 +pkgbase = ttf-mona + pkgdesc = A Japanese proportional font which allows you to view Japanese text arts correctly. + pkgver = 2.90 + pkgrel = 1 + url = http://monafont.sourceforge.net/ + install = ttf.install + arch = i686 + arch = x86_64 + license = custom + makedepends = unzip + depends = fontconfig + depends = xorg-fonts-encodings + depends = xorg-font-utils + source = http://downloads.sourceforge.net/monafont/monafont-ttf-2.90.zip + source = license.txt + md5sums = fa952f01f0187664aaca5d3e259197d3 + md5sums = b98e405f9b27aba83c32ff42a2fdf3e4 + +pkgname = ttf-mona + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..799961685b01 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor: Olivier Duclos <olivier.duclos gmail.com> +# Contributor: Matthew Longley <randomticktock@gmail.com> + +pkgname=ttf-mona +pkgver=2.90 +pkgrel=1 +pkgdesc="A Japanese proportional font which allows you to view Japanese text arts correctly." +arch=('i686' 'x86_64') +license=('custom') +url="http://monafont.sourceforge.net/" +depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils') +makedepends=('unzip') +install=ttf.install +source=(http://downloads.sourceforge.net/monafont/monafont-ttf-${pkgver}.zip license.txt) +md5sums=('fa952f01f0187664aaca5d3e259197d3' + 'b98e405f9b27aba83c32ff42a2fdf3e4') + +package() { + cd $srcdir + mkdir -p $pkgdir/usr/share/fonts/TTF + install -m644 mona.ttf $pkgdir/usr/share/fonts/TTF/ + mkdir -p $pkgdir/usr/share/licenses/custom/${pkgname} + install -m644 license.txt $pkgdir/usr/share/licenses/custom/${pkgname}/license.txt +} diff --git a/license.txt b/license.txt new file mode 100755 index 000000000000..83d8e6dd9f94 --- /dev/null +++ b/license.txt @@ -0,0 +1,27 @@ +-- Terms and Conditions + + Mona Font comes with ABSOLUTELY NO WARRANTY. + Mona Font is in public domain. + + +-- Acknowledgements + +We thank to: + + Yasuyuki Furukawa (the original author of Shinonome Font, Kochi Gothic, mkbold, and mkitalic) + /efont/ Project + NAGAO Sadakazu (mkbold) + Toshiyuki Imamura and HANATAKA Shinya ({K12,K14,K16}-2000) + Katsuya Odajima (a16rk) + Hiroki Kano (bit2bdf, Kochi-CID) + Anonymous 18th in Ni-Channel BBS (omaemona, oremona, monak14-ext, lots of fixes) + Anonymous 638th in Ni-Channel BBS (AA patch) + Yukihiro Nakai (RPM spec file for RedHat) + Many people who tested Mona Font in Macintosh and Windows NT. + Lots of Ni-Channelers and text art wizards! + +-- Links + + Monafont Homepage: http://monafont.sourceforge.net/ + + Author: s42335@users.sourceforge.net diff --git a/ttf.install b/ttf.install new file mode 100755 index 000000000000..4f5212ef22ba --- /dev/null +++ b/ttf.install @@ -0,0 +1,20 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + +op=$1 +shift + +$op $* |