Date: Saturday, March 11, 2017 @ 00:28:40 Author: kkeen Revision: 215621
upgpkg: tamsyn-font 1.11-2 use hooks Modified: tamsyn-font/trunk/PKGBUILD Deleted: tamsyn-font/trunk/tamsyn-font.install ---------------------+ PKGBUILD | 3 +-- tamsyn-font.install | 21 --------------------- 2 files changed, 1 insertion(+), 23 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-03-11 00:26:08 UTC (rev 215620) +++ PKGBUILD 2017-03-11 00:28:40 UTC (rev 215621) @@ -3,13 +3,12 @@ pkgname=tamsyn-font pkgver=1.11 -pkgrel=1 +pkgrel=2 pkgdesc="A monospaced bitmap font for the console and X11" arch=('any') url="http://www.fial.com/~scott/tamsyn-font" license=('custom') depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils') -install=$pkgname.install source=(http://www.fial.com/~scott/$pkgname/download/$pkgname-$pkgver.tar.gz) md5sums=('6ec13672d2f0d6a829f2403cdeebd980') Deleted: tamsyn-font.install =================================================================== --- tamsyn-font.install 2017-03-11 00:26:08 UTC (rev 215620) +++ tamsyn-font.install 2017-03-11 00:28:40 UTC (rev 215621) @@ -1,21 +0,0 @@ -# arg 1: the new package version -post_install() { - echo "Updating font cache... " - fc-cache -s >/dev/null 2>&1 - mkfontscale /usr/share/fonts/local - mkfontdir /usr/share/fonts/local - echo "See the README in /usr/share/doc/tamsyn-font for more info." -} - -# arg 1: the new package version -# arg 2: the old package version -post_upgrade() { - post_install $1 -} - -# arg 1: the old package version -post_remove() { - fc-cache -s >/dev/null 2>&1 - mkfontscale /usr/share/fonts/local - mkfontdir /usr/share/fonts/local -}