diff options
author | LightDot | 2018-02-22 18:22:53 +0100 |
---|---|---|
committer | LightDot | 2018-02-22 18:22:53 +0100 |
commit | 18caa28acee8ce5bd147447d8c6165f5e4990a27 (patch) | |
tree | 1c6a4e5fc402a8251325a9ef405ba4c05388aae7 | |
parent | 0cf73b79bfbfef1d90982933361ab0da2e6cae08 (diff) | |
download | aur-18caa28acee8ce5bd147447d8c6165f5e4990a27.tar.gz |
PKGBUILD cleanup
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 13 | ||||
-rw-r--r-- | ttf-ostrich-sans.install | 13 |
3 files changed, 8 insertions, 26 deletions
@@ -1,17 +1,15 @@ -# Generated by mksrcinfo v8 -# Mon Feb 15 00:46:08 UTC 2016 pkgbase = ttf-ostrich-sans pkgdesc = A gorgeous modern sans-serif with a very long neck. pkgver = 20160215 - pkgrel = 1 + pkgrel = 2 url = http://theleagueofmoveabletype.com/ostrich-sans - install = ttf-ostrich-sans.install arch = any groups = lmt-fonts license = custom:OFL depends = fontconfig + depends = xorg-fonts-encodings depends = xorg-font-utils - source = https://github.com/theleagueof/ostrich-sans/archive/master.zip + source = ttf-ostrich-sans-20160215.zip::https://github.com/theleagueof/ostrich-sans/archive/master.zip md5sums = a30ecf58162f9c40040fcf74fcaef916 pkgname = ttf-ostrich-sans @@ -1,27 +1,24 @@ -# 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=ostrich-sans pkgname=ttf-${_fnt_name} pkgver=20160215 -pkgrel=1 +pkgrel=2 pkgdesc="A gorgeous modern sans-serif with a very long neck." 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=('a30ecf58162f9c40040fcf74fcaef916') 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/webfonts/*.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-ostrich-sans.install b/ttf-ostrich-sans.install deleted file mode 100644 index 2125904e5000..000000000000 --- a/ttf-ostrich-sans.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 -} |