Date: Thursday, January 12, 2017 @ 18:40:54 Author: heftig Revision: 285923
2.005-3 Modified: tex-gyre-fonts/trunk/PKGBUILD Deleted: tex-gyre-fonts/trunk/fonts.install ---------------+ PKGBUILD | 10 ++++------ fonts.install | 11 ----------- 2 files changed, 4 insertions(+), 17 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-01-12 18:40:28 UTC (rev 285922) +++ PKGBUILD 2017-01-12 18:40:54 UTC (rev 285923) @@ -3,13 +3,11 @@ pkgname=tex-gyre-fonts pkgver=2.005 -pkgrel=2 +pkgrel=3 pkgdesc="Substitute PostScript fonts in OpenType format" +url="http://www.gust.org.pl/projects/e-foundry/tex-gyre" arch=(any) -url="http://www.gust.org.pl/projects/e-foundry/tex-gyre" license=(custom) -depends=(fontconfig) -install=fonts.install source=($url/whole/tg-${pkgver}otf.zip $url/../licenses/GUST-FONT-LICENSE.txt) sha256sums=('6158bdb106e5b017743cb6e9ddb6ad4c7153e82fafadd6eb5d62c9f3064df04e' @@ -16,8 +14,8 @@ 'a746108477b2fa685845e7596b7ad8342bc358704b2b7da355f2df0a0cb8ad85') package() { - install -d "$pkgdir/usr/share/fonts/tex-gyre" - install -t "$pkgdir/usr/share/fonts/tex-gyre" -m644 *.otf + install -d "$pkgdir/usr/share/fonts/${pkgname%-fonts}" + install -t "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 *.otf install -Dm644 GUST-FONT-LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } Deleted: fonts.install =================================================================== --- fonts.install 2017-01-12 18:40:28 UTC (rev 285922) +++ fonts.install 2017-01-12 18:40:54 UTC (rev 285923) @@ -1,11 +0,0 @@ -post_install() { - fc-cache -s -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -}
