summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Weimar2019-07-27 11:28:04 +0200
committerMarkus Weimar2019-07-27 11:28:04 +0200
commitcdcee4b2d5c1cd8492152763d84c51e06bac2a76 (patch)
treeefd6efa6e453145ea6f69d099a69f0c2ff077332
parentfb10438c4289aa1cb90d6ee60ee4674888061390 (diff)
downloadaur-cdcee4b2d5c1cd8492152763d84c51e06bac2a76.tar.gz
Move fonts to per-package directory.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 550af3cd3cd7..9f0f339fe3f2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = ttf-iosevka-ss04
pkgdesc = A slender monospace typeface. Shape: Menlo
pkgver = 2.2.1
- pkgrel = 1
+ pkgrel = 2
url = https://be5invis.github.io/Iosevka/
arch = any
license = custom:OFL
depends = fontconfig
depends = xorg-font-utils
source = https://github.com/be5invis/Iosevka/releases/download/v2.2.1/iosevka-ss04-2.2.1.zip
- source = ttf-iosevka-ss04-2.2.1-1-LICENSE.md::https://raw.githubusercontent.com/be5invis/Iosevka/master/LICENSE.md
+ source = ttf-iosevka-ss04-2.2.1-2-LICENSE.md::https://raw.githubusercontent.com/be5invis/Iosevka/master/LICENSE.md
sha256sums = cb9aed7fe1da98ae64c75c33135afc6777e6503b5979393696ddc877f10ec900
sha256sums = ecfd74a1d6749bf509cee122870da0186bccfae446e3f6bc5faff253577ab000
diff --git a/PKGBUILD b/PKGBUILD
index f7d9c0038a8f..89d24cf1307a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Markus Weimar <mail@markusweimar.de>
pkgname=ttf-iosevka-ss04
pkgver=2.2.1
-pkgrel=1
+pkgrel=2
pkgdesc='A slender monospace typeface. Shape: Menlo'
arch=('any')
url='https://be5invis.github.io/Iosevka/'
@@ -13,7 +13,7 @@ sha256sums=('cb9aed7fe1da98ae64c75c33135afc6777e6503b5979393696ddc877f10ec900'
'ecfd74a1d6749bf509cee122870da0186bccfae446e3f6bc5faff253577ab000')
package() {
- install -d ${pkgdir}/usr/share/fonts/TTF/
- install -m644 ${srcdir}/ttf/*.ttf ${pkgdir}/usr/share/fonts/TTF/
+ install -d ${pkgdir}/usr/share/fonts/${pkgname}/
+ install -m644 ${srcdir}/ttf/*.ttf ${pkgdir}/usr/share/fonts/${pkgname}/
install -D -m644 ${pkgname}-${pkgver}-${pkgrel}-LICENSE.md ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md
}