Date: Thursday, February 8, 2018 @ 16:24:52
  Author: heftig
Revision: 316246

0.100-1

Modified:
  cantarell-fonts/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-08 16:05:49 UTC (rev 316245)
+++ PKGBUILD    2018-02-08 16:24:52 UTC (rev 316246)
@@ -2,31 +2,30 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com>
 
 pkgname=cantarell-fonts
-pkgver=0.0.25
-pkgrel=3
+pkgver=0.100
+pkgrel=1
 epoch=1
 pkgdesc="Cantarell font family"
 url="https://git.gnome.org/browse/cantarell-fonts";
 arch=(any)
-license=('custom:SIL')
-makedepends=(fontconfig)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:3}/$pkgname-${pkgver}.tar.xz)
-sha256sums=('14a228aa0b516dfc367b434a850f955a00c57fc549cbb05348e2b150196a737f')
+license=(custom:SIL)
+makedepends=(meson appstream-glib)
+source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:5}/$pkgname-$pkgver.tar.xz)
+sha256sums=('01ad69e855b81af7d6752d374301b8a55576f375a7a46eb58935d7f343cf0689')
 
 build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --with-configdir=/etc/fonts/conf.avail
-  make
+  arch-meson $pkgname-$pkgver build
+  ninja -C build
 }
 
 package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="${pkgdir}" install
+  DESTDIR="$pkgdir" ninja -C build install
 
-  mkdir "$pkgdir/etc/fonts/conf.d"
-  ln -srt "$pkgdir/etc/fonts/conf.d" "$pkgdir"/etc/fonts/conf.avail/*
+  #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"
+  install -Dm644 $pkgname-$pkgver/COPYING \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
 # vim:set ts=2 sw=2 et:

Reply via email to