diff options
author | Morten Linderud | 2017-09-04 10:31:00 +0200 |
---|---|---|
committer | Morten Linderud | 2017-09-04 10:31:00 +0200 |
commit | 9e6ad37250107183f76d2ae42d22b8139f378fb1 (patch) | |
tree | f305f595aa8819c218eb275bfc33c6e130a8cf9e | |
parent | 03e1df0c4342b58c58d341f1c35c3501b4febd85 (diff) | |
download | aur-9e6ad37250107183f76d2ae42d22b8139f378fb1.tar.gz |
upgpkg: nerd-fonts-git r549.c89aeaa7-1
upstream release
Updated nerd-fonts
Signed-off-by: Morten Linderud <morten@linderud.pw>
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 20 | ||||
-rw-r--r-- | nerd-fonts-git.install | 15 |
3 files changed, 11 insertions, 33 deletions
@@ -1,17 +1,14 @@ # Generated by mksrcinfo v8 -# Sun Sep 3 22:05:54 UTC 2017 +# Mon Sep 4 08:31:02 UTC 2017 pkgbase = nerd-fonts-git - pkgdesc = collection of over 20 patched fonts (over 1,700 variations) & fontforge font patcher python script for powerline, devicons, and vim-devicons: includes Droid Sans, Meslo, AnonymousPro, ProFont, Inconsolta, and many more + pkgdesc = Iconic font aggregator, collection, and patcher: 34 patched fonts (77k+ variations). Includes popular glyph collections such as Font Awesome & fonts such as Hack pkgver = r549.c89aeaa7 pkgrel = 1 url = https://github.com/ryanoasis/nerd-fonts - install = nerd-fonts-git.install arch = any license = MIT makedepends = git - depends = fontconfig - depends = xorg-font-utils - source = git://github.com/ryanoasis/nerd-fonts.git + source = git+https://github.com/ryanoasis/nerd-fonts.git md5sums = SKIP pkgname = nerd-fonts-git @@ -3,16 +3,12 @@ pkgname=nerd-fonts-git pkgver=r549.c89aeaa7 pkgrel=1 -pkgdesc="collection of over 20 patched fonts (over 1,700 variations) & fontforge font patcher python script for powerline, devicons, and vim-devicons: includes Droid Sans, Meslo, AnonymousPro, ProFont, Inconsolta, and many more " +pkgdesc="Iconic font aggregator, collection, and patcher: 34 patched fonts (77k+ variations). Includes popular glyph collections such as Font Awesome & fonts such as Hack" arch=('any') url='https://github.com/ryanoasis/nerd-fonts' license=('MIT') -depends=(fontconfig xorg-font-utils ) makedepends=('git') -conflicts=() -install=$pkgname.install -source=('git://github.com/ryanoasis/nerd-fonts.git') -#source=('./nerd-fonts') +source=('git+https://github.com/ryanoasis/nerd-fonts.git') md5sums=('SKIP') pkgver() { @@ -21,10 +17,10 @@ pkgver() { } package() { - cd $srcdir/nerd-fonts/patched-fonts - find . -iname "*.ttf" -execdir install -Dm644 {} $pkgdir/usr/share/fonts/TTF/{} \; - find . -iname "*.otf" -execdir install -Dm644 {} $pkgdir/usr/share/fonts/OTF/{} \; - find . -iname "*.pcf.gz" -execdir install -Dm644 {} $pkgdir/usr/share/fonts/misc/{} \; - find . -iname "*.psf.gz" -execdir install -Dm644 {} $pkgdir/usr/share/kbd/consolefonts/{} \; - install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + cd "$srcdir/nerd-fonts/patched-fonts" + find . -iname "*.ttf" -execdir install -Dm644 {} "$pkgdir/usr/share/fonts/TTF/{}" \; + find . -iname "*.otf" -execdir install -Dm644 {} "$pkgdir/usr/share/fonts/OTF/{}" \; + find . -iname "*.pcf.gz" -execdir install -Dm644 {} "$pkgdir/usr/share/fonts/misc/{}" \; + find . -iname "*.psf.gz" -execdir install -Dm644 {} "$pkgdir/usr/share/kbd/consolefonts/{}" \; + install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } diff --git a/nerd-fonts-git.install b/nerd-fonts-git.install deleted file mode 100644 index 1e8ba5091faf..000000000000 --- a/nerd-fonts-git.install +++ /dev/null @@ -1,15 +0,0 @@ -post_install() { - echo -n "Updating font cache... " - mkfontscale /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1 - mkfontdir /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1 - fc-cache -s >/dev/null - echo "done" -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} |