diff options
author | xDShot | 2019-04-28 13:21:11 +0300 |
---|---|---|
committer | xDShot | 2019-04-28 13:21:11 +0300 |
commit | dc74887f5b9025d6e6bde98eb372be4796a4f659 (patch) | |
tree | a83d0205851f66a153ec33ef6deeb317ae8dfc0a | |
download | aur-dc74887f5b9025d6e6bde98eb372be4796a4f659.tar.gz |
Initial
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 34 |
3 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c71d126f1d43 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = cantarell-fonts-0.100 + pkgdesc = Cantarell font family. Version 0.100 + pkgver = 0.100 + pkgrel = 1 + epoch = 1 + url = https://git.gnome.org/browse/cantarell-fonts + arch = any + license = custom:SIL + makedepends = meson + makedepends = appstream-glib + provides = cantarell-fonts=0.100 + conflicts = cantarell-fonts + source = https://download.gnome.org/sources/cantarell-fonts/0.100/cantarell-fonts-0.100.tar.xz + sha256sums = 01ad69e855b81af7d6752d374301b8a55576f375a7a46eb58935d7f343cf0689 + +pkgname = cantarell-fonts-0.100 + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..d62b25a0e45b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.pkg* +src/* +pkg/* +*.tar* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f7b50685c5a1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> + +_pkgname=cantarell-fonts +pkgver=0.100 +pkgname=$_pkgname-$pkgver +pkgrel=1 +epoch=1 +pkgdesc="Cantarell font family. Version 0.100" +url="https://git.gnome.org/browse/cantarell-fonts" +arch=(any) +license=(custom:SIL) +makedepends=(meson appstream-glib) +source=(https://download.gnome.org/sources/$_pkgname/${pkgver:0:5}/$_pkgname-$pkgver.tar.xz) +sha256sums=('01ad69e855b81af7d6752d374301b8a55576f375a7a46eb58935d7f343cf0689') +provides=( $_pkgname=$pkgver ) +conflicts=( $_pkgname ) + +build() { + arch-meson $_pkgname-$pkgver build + ninja -C build +} + +package() { + DESTDIR="$pkgdir" ninja -C build install + + #mkdir "$pkgdir/etc/fonts/conf.d" + #ln -srt "$pkgdir/etc/fonts/conf.d" "$pkgdir"/etc/fonts/conf.avail/* + + install -Dm644 $_pkgname-$pkgver/COPYING \ + "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: |