[arch-commits] Commit in ttf-sazanami/repos (3 files)

Gaëtan Bisson bisson at archlinux.org
Thu Mar 28 10:19:25 UTC 2019


    Date: Thursday, March 28, 2019 @ 10:19:25
  Author: bisson
Revision: 445239

archrelease: copy trunk to community-any

Added:
  ttf-sazanami/repos/community-any/
  ttf-sazanami/repos/community-any/PKGBUILD
    (from rev 445238, ttf-sazanami/trunk/PKGBUILD)
  ttf-sazanami/repos/community-any/install
    (from rev 445238, ttf-sazanami/trunk/install)

----------+
 PKGBUILD |   22 ++++++++++++++++++++++
 install  |   14 ++++++++++++++
 2 files changed, 36 insertions(+)

Copied: ttf-sazanami/repos/community-any/PKGBUILD (from rev 445238, ttf-sazanami/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-03-28 10:19:25 UTC (rev 445239)
@@ -0,0 +1,22 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Darwin M. Bautista <djclue917 at gmail.com>
+
+pkgname=ttf-sazanami
+pkgver=20040629
+pkgrel=10
+pkgdesc='Japanese fonts'
+url='http://wiki.fdiary.net/font/?sazanami'
+license=('custom:BSD')
+arch=('any')
+depends=('fontconfig' 'xorg-fonts-encodings')
+source=("http://osdn.dl.sourceforge.jp/efont/10087/sazanami-${pkgver}.tar.bz2")
+sha256sums=('3467ce2f70a9a3fbbf8d4d97355a2f334a6351baa6722251403637a8cbebf6b7')
+
+install=install
+
+package() {
+	cd "${srcdir}/sazanami-${pkgver}"
+	install -d "${pkgdir}"/usr/share/{fonts/TTF,licenses/"${pkgname}"}
+	install *.ttf "${pkgdir}/usr/share/fonts/TTF"
+	iconv -f EUC-JP -t UTF-8 README > "${pkgdir}/usr/share/licenses/${pkgname}/README"
+}

Copied: ttf-sazanami/repos/community-any/install (from rev 445238, ttf-sazanami/trunk/install)
===================================================================
--- community-any/install	                        (rev 0)
+++ community-any/install	2019-03-28 10:19:25 UTC (rev 445239)
@@ -0,0 +1,14 @@
+post_install() {
+	rm -f /etc/fonts/conf.d/65-sazanami.conf
+	fc-cache -s > /dev/null
+	mkfontscale usr/share/fonts/TTF
+	mkfontdir usr/share/fonts/TTF
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}


More information about the arch-commits mailing list