diff options
author | LightDot | 2018-02-22 16:28:52 +0100 |
---|---|---|
committer | LightDot | 2018-02-22 16:28:52 +0100 |
commit | df145ac35c525d1340dce1478d75ee09c29b2151 (patch) | |
tree | 96c9ccc4772974e2daae9b969190d9ea86be5edf | |
parent | 001c15dbcf015900ded9a1ff10f21e13ab89db0f (diff) | |
download | aur-df145ac35c525d1340dce1478d75ee09c29b2151.tar.gz |
PKGBUILD cleanup
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 17 | ||||
-rw-r--r-- | ttf-junction.install | 13 |
3 files changed, 11 insertions, 27 deletions
@@ -1,18 +1,16 @@ -# Generated by mksrcinfo v8 -# Mon Feb 15 00:01:41 UTC 2016 pkgbase = ttf-junction pkgdesc = Junction is a a humanist sans-serif, and the first open-source type project started by The League of Moveable Type. pkgver = 20160215 - pkgrel = 1 + pkgrel = 2 url = http://theleagueofmoveabletype.com/junction - install = ttf-junction.install arch = any groups = lmt-fonts license = custom:OFL depends = fontconfig + depends = xorg-fonts-encodings depends = xorg-font-utils conflicts = otf-junction - source = https://github.com/theleagueof/junction/archive/master.zip + source = ttf-junction-20160215.zip::https://github.com/theleagueof/junction/archive/master.zip md5sums = e35636a6a9075db4f1bc09df69b8d0d3 pkgname = ttf-junction @@ -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=junction pkgname=ttf-${_fnt_name} pkgver=20160215 -pkgrel=1 +pkgrel=2 pkgdesc="Junction is a a humanist sans-serif, and the first open-source type project started by The League of Moveable Type." 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-junction') -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=('e35636a6a9075db4f1bc09df69b8d0d3') package() { @@ -20,10 +20,9 @@ package() { install -Dm644 ${srcdir}/${_fnt_name}-master/Junction-light.otf ${pkgdir}/usr/share/fonts/OTF/JunctionLight.otf install -Dm644 ${srcdir}/${_fnt_name}-master/Junction-regular.otf ${pkgdir}/usr/share/fonts/OTF/JunctionRegular.otf - install -Dm644 ${srcdir}/${_fnt_name}-master/webfonts/junction-bold.ttf ${pkgdir}/usr/share/fonts/OTF/JunctionBold.ttf - install -Dm644 ${srcdir}/${_fnt_name}-master/webfonts/junction-light.ttf ${pkgdir}/usr/share/fonts/OTF/JunctionLight.ttf - install -Dm644 ${srcdir}/${_fnt_name}-master/webfonts/junction-regular.ttf ${pkgdir}/usr/share/fonts/OTF/JunctionRegular.ttf + install -Dm644 ${srcdir}/${_fnt_name}-master/webfonts/junction-bold.ttf ${pkgdir}/usr/share/fonts/TTF/JunctionBold.ttf + install -Dm644 ${srcdir}/${_fnt_name}-master/webfonts/junction-light.ttf ${pkgdir}/usr/share/fonts/TTF/JunctionLight.ttf + install -Dm644 ${srcdir}/${_fnt_name}-master/webfonts/junction-regular.ttf ${pkgdir}/usr/share/fonts/TTF/JunctionRegular.ttf install -Dm644 ${srcdir}/${_fnt_name}-master/Open\ Font\ License.markdown ${pkgdir}/usr/share/licenses/${pkgname}/OFL.txt } - diff --git a/ttf-junction.install b/ttf-junction.install deleted file mode 100644 index 2125904e5000..000000000000 --- a/ttf-junction.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 -} |