diff options
author | LightDot | 2018-02-22 18:32:49 +0100 |
---|---|---|
committer | LightDot | 2018-02-22 18:32:49 +0100 |
commit | 286c236828367f41d4c9144329a952436d6c5c0b (patch) | |
tree | 993033e2b60b67067e5740a150b23bdd372fcaa4 | |
parent | d115b4f549757c8207bdd59b0e1b1419971281d1 (diff) | |
download | aur-286c236828367f41d4c9144329a952436d6c5c0b.tar.gz |
PKGBUILD cleanup
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 11 | ||||
-rw-r--r-- | ttf-raleway.install | 13 |
3 files changed, 8 insertions, 24 deletions
@@ -1,18 +1,16 @@ -# Generated by mksrcinfo v8 -# Mon Feb 15 00:22:35 UTC 2016 pkgbase = ttf-raleway pkgdesc = An elegant sans-serif font, designed in a single thin weight. pkgver = 20160215 - pkgrel = 1 + pkgrel = 2 url = http://theleagueofmoveabletype.com/raleway - install = ttf-raleway.install arch = any groups = lmt-fonts license = custom:OFL depends = fontconfig + depends = xorg-fonts-encodings depends = xorg-font-utils conflicts = otf-raleway - source = https://github.com/theleagueof/raleway/archive/master.zip + source = ttf-raleway-20160215.zip::https://github.com/theleagueof/raleway/archive/master.zip md5sums = 147dff2149b4d910023e459de8b260bb pkgname = ttf-raleway @@ -1,18 +1,18 @@ -# 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=raleway pkgname=ttf-${_fnt_name} pkgver=20160215 -pkgrel=1 +pkgrel=2 pkgdesc="An elegant sans-serif font, designed in a single thin weight." arch=('any') url="http://theleagueofmoveabletype.com/${_fnt_name}" license=('custom:OFL') groups=('lmt-fonts') -depends=('fontconfig' 'xorg-font-utils') +depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils') conflicts=('otf-raleway') -source=("https://github.com/theleagueof/${_fnt_name}/archive/master.zip") -install=${pkgname}.install +source=("$pkgname-$pkgver.zip::https://github.com/theleagueof/${_fnt_name}/archive/master.zip") md5sums=('147dff2149b4d910023e459de8b260bb') package() { @@ -21,4 +21,3 @@ package() { install -Dm644 ${srcdir}/${_fnt_name}-master/Open\ Font\ License.markdown ${pkgdir}/usr/share/licenses/${pkgname}/OFL.txt } - diff --git a/ttf-raleway.install b/ttf-raleway.install deleted file mode 100644 index 2125904e5000..000000000000 --- a/ttf-raleway.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 -} |