diff options
author | LightDot | 2018-02-22 16:00:46 +0100 |
---|---|---|
committer | LightDot | 2018-02-22 16:00:46 +0100 |
commit | bcfe55ec1de28ac8c131702114e9f8b8a555ccdb (patch) | |
tree | a27ee4e0293af6bb7a03bedfc386f1ce2e94b28b | |
parent | c863349add4519a205701d66e357ea158eaddc30 (diff) | |
download | aur-bcfe55ec1de28ac8c131702114e9f8b8a555ccdb.tar.gz |
PKGBUILD cleanup
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 16 | ||||
-rw-r--r-- | ttf-chunk.install | 13 |
3 files changed, 10 insertions, 29 deletions
@@ -1,17 +1,15 @@ -# Generated by mksrcinfo v8 -# Mon Feb 15 00:42:49 UTC 2016 pkgbase = ttf-chunk - pkgdesc = An ultra-bold, ultra-awesome slab serif typeface. + pkgdesc = An ultra-bold slab serif typeface that is reminiscent of old American Western woodcuts, broadsides, and newspaper headlines. Used mainly for display, the fat block lettering is unreserved yet refined for contemporary use. pkgver = 20160215 - pkgrel = 1 + pkgrel = 2 url = http://theleagueofmoveabletype.com/chunk - install = ttf-chunk.install arch = any groups = lmt-fonts license = custom:OFL depends = fontconfig + depends = xorg-fonts-encodings depends = xorg-font-utils - source = https://github.com/theleagueof/chunk/archive/master.zip + source = ttf-chunk-20160215.zip::https://github.com/theleagueof/chunk/archive/master.zip md5sums = 96287d88f72c475a3006031b80dcdc5e pkgname = ttf-chunk @@ -1,25 +1,21 @@ -# Maintainer: samæ <samæ at marvid dot fr> +# Maintainer: LightDot <lightdot -a-t- g m a i l> +# Contributor: samæ <samæ at marvid dot fr> _fnt_name=chunk pkgname=ttf-${_fnt_name} pkgver=20160215 -pkgrel=1 -pkgdesc="An ultra-bold, ultra-awesome slab serif typeface." +pkgrel=2 +pkgdesc="An ultra-bold slab serif typeface that is reminiscent of old American Western woodcuts, broadsides, and newspaper headlines. Used mainly for display, the fat block lettering is unreserved yet refined for contemporary use." arch=('any') url="http://theleagueofmoveabletype.com/${_fnt_name}" license=('custom:OFL') groups=('lmt-fonts') -depends=('fontconfig' 'xorg-font-utils') -conflicts=() -source=("https://github.com/theleagueof/${_fnt_name}/archive/master.zip") -install=${pkgname}.install +depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils') +source=("$pkgname-$pkgver.zip::https://github.com/theleagueof/${_fnt_name}/archive/master.zip") md5sums=('96287d88f72c475a3006031b80dcdc5e') package() { - install -d ${pkgdir}/usr/share/fonts/OTF install -d ${pkgdir}/usr/share/fonts/TTF - - install -Dm644 ${srcdir}/${_fnt_name}-master/*.otf ${pkgdir}/usr/share/fonts/OTF/ install -Dm644 ${srcdir}/${_fnt_name}-master/*.ttf ${pkgdir}/usr/share/fonts/TTF/ install -Dm644 ${srcdir}/${_fnt_name}-master/Open\ Font\ License.markdown ${pkgdir}/usr/share/licenses/${pkgname}/OFL.txt diff --git a/ttf-chunk.install b/ttf-chunk.install deleted file mode 100644 index 2125904e5000..000000000000 --- a/ttf-chunk.install +++ /dev/null @@ -1,13 +0,0 @@ -post_install() { - echo -n "Updating font cache... " - fc-cache -s > /dev/null - echo "done." -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} |