diff options
author | noonov | 2015-06-08 20:15:13 +0900 |
---|---|---|
committer | noonov | 2015-06-08 20:15:13 +0900 |
commit | e978e1ba48eddee11b8d56f8e4b4f8abc5bb2859 (patch) | |
tree | cc56c79bf878113a2310c131237031bb1cdb3a29 | |
download | aur-e978e1ba48eddee11b8d56f8e4b4f8abc5bb2859.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 26 | ||||
-rw-r--r-- | ttf.install | 15 |
3 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6353d5a79a91 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = ttf-ume + pkgdesc = Free Japanese Gothic/Mincho Font + pkgver = 0.510 + pkgrel = 1 + url = http://sourceforge.jp/projects/ume-font/ + install = ttf.install + arch = any + license = custom + depends = fontconfig + depends = xorg-font-utils + source = http://jaist.dl.sourceforge.jp/ume-font/22212/umefont_510.tar.xz + md5sums = a23e8ff6a5654ead1618476937f5c697 + sha256sums = 47748da742a5885219dfb9cce7ed15428c60bf81e3901ecd378f5e49e5d9d1d0 + +pkgname = ttf-ume + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e6168ef0bc06 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Contributor: noonov <noonov@gmail.com> + +pkgname=ttf-ume +pkgver=0.510 +_pkgver=${pkgver:2} +pkgrel=1 +pkgdesc="Free Japanese Gothic/Mincho Font" +arch=('any') +url="http://sourceforge.jp/projects/ume-font/" +license=('custom') +depends=('fontconfig' 'xorg-font-utils') +install=ttf.install +_mirror="jaist" # keihanna, jaist, iij, osdn +source=(http://${_mirror}.dl.sourceforge.jp/ume-font/22212/umefont_${_pkgver}.tar.xz) +md5sums=('a23e8ff6a5654ead1618476937f5c697') +sha256sums=('47748da742a5885219dfb9cce7ed15428c60bf81e3901ecd378f5e49e5d9d1d0') + +package() { + cd ${srcdir} + + install -d ${pkgdir}/usr/share/fonts/TTF + install -m644 umefont_${_pkgver}/*.ttf ${pkgdir}/usr/share/fonts/TTF + + install -D -m644 umefont_${_pkgver}/license.html \ + ${pkgdir}/usr/share/licenses/${pkgname}/COPYING.html +} diff --git a/ttf.install b/ttf.install new file mode 100644 index 000000000000..16db3c130c72 --- /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 +} |