diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 13 | ||||
-rw-r--r-- | otf.install | 16 |
3 files changed, 8 insertions, 26 deletions
@@ -1,11 +1,10 @@ # Generated by mksrcinfo v8 -# Wed Apr 19 13:16:31 UTC 2017 +# Thu Mar 1 12:57:22 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.2.r31.gefbe4ae + pkgver = 6.4.r73.g4656f77 pkgrel = 1 url = https://github.com/khaledhosny/libertinus - install = otf.install arch = any license = custom: OFL depends = fontconfig @@ -1,27 +1,26 @@ # Maintainer: aksr <aksr at t-com dot me> -# Contributor: Caleb Maclennan <caleb@alerque.com> +# Maintainer: Caleb Maclennan <caleb@alerque.com> pkgname=otf-libertinus-git -pkgver=6.2.r31.gefbe4ae +pkgver=6.4.r73.g4656f77 pkgrel=1 -pkgdesc="Libertinus font family, a fork of Linux Libertine and Linux Biolinum with bugfixes and an OpenType math companion." +pkgdesc='Libertinus font family, a fork of Linux Libertine and Linux Biolinum with bugfixes and an OpenType math companion.' arch=('any') -url="https://github.com/khaledhosny/libertinus" +url='https://github.com/khaledhosny/libertinus' license=('custom: OFL') depends=('fontconfig' 'xorg-font-utils') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") -install=otf.install source=("$pkgname::git+https://github.com/khaledhosny/libertinus.git") md5sums=('SKIP') pkgver() { - cd "$srcdir/$pkgname" + cd "$pkgname" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } package() { - cd "$srcdir/$pkgname" + cd "$pkgname" find -name '*.otf' -execdir install -Dm644 {} "${pkgdir}/usr/share/fonts/OTF/{}" \; install -Dm644 OFL.txt "${pkgdir}/usr/share/licenses/${pkgname%-git}/LICENSE" } diff --git a/otf.install b/otf.install deleted file mode 100644 index b0935f6fd98d..000000000000 --- a/otf.install +++ /dev/null @@ -1,16 +0,0 @@ -post_install() { - echo -n "Updating font cache... " - fc-cache -f >/dev/null - mkfontscale /usr/share/fonts/OTF - mkfontdir /usr/share/fonts/OTF - echo "done." -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} - |