diff options
author | Ainola | 2018-09-05 22:58:14 -0600 |
---|---|---|
committer | Ainola | 2018-09-05 22:58:14 -0600 |
commit | dd026f560a9f2b8976b200ced15e86996ad78f68 (patch) | |
tree | 78cc8ddc9db54bb995afd2634bd4d7e5e2ee762b | |
parent | b4ebed33d1c196526ce39fd0ec783c8a74a3c668 (diff) | |
download | aur-dd026f560a9f2b8976b200ced15e86996ad78f68.tar.gz |
PKGBUILD improvements
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 15 insertions, 12 deletions
@@ -1,12 +1,12 @@ # Generated by mksrcinfo v8 -# Sun May 28 07:23:08 UTC 2017 +# Thu Sep 6 04:57:56 UTC 2018 pkgbase = ttf-material-wifi-icons-git pkgdesc = WiFi icons inspired by Material Icons - pkgver = r10.7631309 + pkgver = r15.03e41a0 pkgrel = 1 url = https://github.com/dcousens/material-wifi-icons arch = any - license = custom + license = MIT source = git://github.com/dcousens/material-wifi-icons.git sha256sums = SKIP @@ -1,25 +1,28 @@ # Maintainer: Ainola pkgname=ttf-material-wifi-icons-git -pkgver=r10.7631309 +pkgver=r15.03e41a0 pkgrel=1 arch=('any') url='https://github.com/dcousens/material-wifi-icons' pkgdesc='WiFi icons inspired by Material Icons' -license=('custom') +license=('MIT') source=('git://github.com/dcousens/material-wifi-icons.git') sha256sums=('SKIP') pkgver() { - cd "$srcdir"/material-wifi-icons - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd material-wifi-icons + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { - # As upstream named the font with a hyphen in the name, remember to escape - # the hyphen in your application. For example, with Polybar, use: - # font-3 = material\-wifi:size=10 + # As upstream named the font with a hyphen in the name, remember to escape + # the hyphen in your application. For example, with Polybar, use: + # font-3 = material\-wifi:size=10 - install -Dm644 "$srcdir"/material-wifi-icons/material-wifi.ttf \ - "$pkgdir/usr/share/fonts/TTF/material-wifi.ttf" + install -Dm644 material-wifi-icons/material-wifi.ttf \ + -t "$pkgdir/usr/share/fonts/TTF/" + + install -Dm644 material-wifi-icons/LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname" + install -Dm644 material-wifi-icons/README.md -t "$pkgdir/usr/share/doc/$pkgname" } |