diff options
author | LightDot | 2018-02-22 16:54:08 +0100 |
---|---|---|
committer | LightDot | 2018-02-22 16:54:08 +0100 |
commit | b3a652e8d42d444144c0b3df298c8c8e7ae27bb3 (patch) | |
tree | 9521bb282f65779d85083beec5a78fe97f5d0708 | |
parent | cecf3f007500313a4c785b56bfcb631c3dc49763 (diff) | |
download | aur-b3a652e8d42d444144c0b3df298c8c8e7ae27bb3.tar.gz |
PKGBUILD cleanup
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 13 | ||||
-rw-r--r-- | ttf-knewave.install | 13 |
3 files changed, 8 insertions, 26 deletions
@@ -1,17 +1,15 @@ -# Generated by mksrcinfo v8 -# Mon Feb 15 00:48:14 UTC 2016 pkgbase = ttf-knewave pkgdesc = A bold, painted face font for the rocker within. pkgver = 20160215 - pkgrel = 1 + pkgrel = 2 url = http://theleagueofmoveabletype.com/knewave - install = ttf-knewave.install arch = any groups = lmt-fonts license = custom:OFL depends = fontconfig + depends = xorg-fonts-encodings depends = xorg-font-utils - source = https://github.com/theleagueof/knewave/archive/master.zip + source = ttf-knewave-20160215.zip::https://github.com/theleagueof/knewave/archive/master.zip md5sums = ec880e36c11c0a16b06be6cd5884e3b8 pkgname = ttf-knewave @@ -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=knewave pkgname=ttf-${_fnt_name} pkgver=20160215 -pkgrel=1 +pkgrel=2 pkgdesc="A bold, painted face font for the rocker within." 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=('ec880e36c11c0a16b06be6cd5884e3b8') 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-knewave.install b/ttf-knewave.install deleted file mode 100644 index 2125904e5000..000000000000 --- a/ttf-knewave.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 -} |