diff options
author | aksr | 2018-05-22 04:31:06 +0200 |
---|---|---|
committer | aksr | 2018-05-22 04:31:06 +0200 |
commit | 22e36ecb595327ac4295833f91ec6de93dce80b4 (patch) | |
tree | 20ca6ce846ec770504e8a247b3251cc355b39e5c | |
parent | f81063ef27636d97d1fc0d557ed195f7b8a0ea9f (diff) | |
download | aur-22e36ecb595327ac4295833f91ec6de93dce80b4.tar.gz |
Fix installation.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 9 insertions, 7 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Thu Mar 1 12:57:22 UTC 2018 +# Tue May 22 02:30:44 UTC 2018 pkgbase = otf-libertinus-git pkgdesc = Libertinus font family, a fork of Linux Libertine and Linux Biolinum with bugfixes and an OpenType math companion. - pkgver = 6.4.r73.g4656f77 + pkgver = 6.6.r19.g51a9651 pkgrel = 1 url = https://github.com/khaledhosny/libertinus arch = any @@ -2,7 +2,7 @@ # Maintainer: Caleb Maclennan <caleb@alerque.com> pkgname=otf-libertinus-git -pkgver=6.4.r73.g4656f77 +pkgver=6.6.r19.g51a9651 pkgrel=1 pkgdesc='Libertinus font family, a fork of Linux Libertine and Linux Biolinum with bugfixes and an OpenType math companion.' arch=('any') @@ -15,13 +15,15 @@ source=("$pkgname::git+https://github.com/khaledhosny/libertinus.git") md5sums=('SKIP') pkgver() { - cd "$pkgname" + cd "$srcdir/$pkgname" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } package() { - cd "$pkgname" - find -name '*.otf' -execdir install -Dm644 {} "${pkgdir}/usr/share/fonts/OTF/{}" \; - install -Dm644 OFL.txt "${pkgdir}/usr/share/licenses/${pkgname%-git}/LICENSE" + cd "$srcdir/$pkgname" + for f in *.otf; do + install -D -m644 $f "$pkgdir/usr/share/fonts/OTF/$f" + done + install -D -m644 OFL.txt "$pkgdir/usr/share/licenses/${pkgname%-git}/LICENSE" } |