[arch-commits] Commit in ttf-khmer/repos (3 files)
Gaëtan Bisson
bisson at archlinux.org
Thu Mar 28 10:18:37 UTC 2019
Date: Thursday, March 28, 2019 @ 10:18:37
Author: bisson
Revision: 445237
archrelease: copy trunk to community-any
Added:
ttf-khmer/repos/community-any/
ttf-khmer/repos/community-any/PKGBUILD
(from rev 445236, ttf-khmer/trunk/PKGBUILD)
ttf-khmer/repos/community-any/install
(from rev 445236, ttf-khmer/trunk/install)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
install | 13 +++++++++++++
2 files changed, 37 insertions(+)
Copied: ttf-khmer/repos/community-any/PKGBUILD (from rev 445236, ttf-khmer/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-03-28 10:18:37 UTC (rev 445237)
@@ -0,0 +1,24 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Firmicus <francois.archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+
+pkgname=ttf-khmer
+_pkgname=All_KhmerOS
+pkgver=5.0
+pkgrel=6
+pkgdesc='Fonts for Khmer and Latin alphabets'
+# url='http://www.khmeros.info/en/fonts' # dead
+url='https://sourceforge.net/projects/khmer/'
+license=('LGPL')
+arch=('any')
+depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig')
+source=("https://downloads.sourceforge.net/project/khmer/Fonts%20-%20KhmerOS/KhmerOS%20Fonts%20${pkgver}-%20LGPL%20Licence/${_pkgname}_${pkgver}.zip")
+sha256sums=('62fec2273016fb6e69b18635e696fd2c91953af9cbe757b341721aec2232432e')
+
+install=install
+
+package() {
+ cd "${srcdir}/${_pkgname}_${pkgver}"
+ install -dm755 "${pkgdir}"/usr/share/fonts/TTF
+ install -m644 *.ttf "${pkgdir}/"usr/share/fonts/TTF/
+}
Copied: ttf-khmer/repos/community-any/install (from rev 445236, ttf-khmer/trunk/install)
===================================================================
--- community-any/install (rev 0)
+++ community-any/install 2019-03-28 10:18:37 UTC (rev 445237)
@@ -0,0 +1,13 @@
+post_install() {
+ 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