summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6c670ab2d6178c418d8a383e66ca3fce083ab065 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Archisman Panigrahi <apandada1 at gmail dot com>
# Special thanks to: Mark Wagie (yochananmarqos) https://aur.archlinux.org/account/yochananmarqos
pkgname=webfontkitgenerator-git
pkgver=1.0.0
pkgrel=1
pkgdesc="Create @font-face kits easily"
arch=('any')
url="https://github.com/rafaelmardojai/webfontkitgenerator"
provides=('webfontkitgenerator')
conflicts=('webfontkitgenerator')
license=('GPL3')
depends=('gtk4' 'gtksourceview5' 'gst-python' 'libadwaita' 'python-fonttools' 'python-brotli')
makedepends=('meson' 'git')
source=("git+https://github.com/rafaelmardojai/webfontkitgenerator.git")
sha256sums=('SKIP')

pkgver() {
  cd ${pkgname%-git}
  # cutting off 'v' prefix in the git tag
  git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	arch-meson ${pkgname%-git} build
	meson compile -C build
}

package() {
	DESTDIR="$pkgdir" meson install -C build
}