[arch-commits] Commit in cantarell-fonts/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sat Aug 20 03:15:26 UTC 2016
Date: Saturday, August 20, 2016 @ 03:15:25
Author: heftig
Revision: 273992
0.0.25-2
Modified:
cantarell-fonts/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-08-20 01:17:48 UTC (rev 273991)
+++ PKGBUILD 2016-08-20 03:15:25 UTC (rev 273992)
@@ -3,13 +3,13 @@
pkgname=cantarell-fonts
pkgver=0.0.25
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc="Cantarell font family"
-arch=('any')
+arch=(any)
url="https://git.gnome.org/browse/cantarell-fonts"
-license=('GPL2')
-depends=('fontconfig')
+license=('custom:SIL')
+depends=(fontconfig)
install=cantarell-fonts.install
source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:3}/$pkgname-${pkgver}.tar.xz)
sha256sums=('14a228aa0b516dfc367b434a850f955a00c57fc549cbb05348e2b150196a737f')
@@ -23,6 +23,11 @@
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
+
+ mkdir "$pkgdir/etc/fonts/conf.d"
+ ln -srt "$pkgdir/etc/fonts/conf.d" "$pkgdir"/etc/fonts/conf.avail/*
+
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list