blob: 0790184999a3bfa9bb1ebb3821db3f2aa8bb31e1 (
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
31
32
33
34
35
36
37
38
|
# Maintainer: chocolateimage <chocolateimage@protonmail.com>
_pkgname=fontviewer
pkgname=choco-fontviewer
pkgver=1.2.0
pkgrel=1
pkgdesc="View and install fonts with Google Fonts support"
url="https://github.com/chocolateimage/fontviewer"
license=('GPL')
arch=("x86_64")
depends=(
'gtk3'
'fontconfig'
)
makedepends=(
'gcc'
'meson'
'gtkmm3'
'json-glib'
'curl'
'pangomm'
'glibmm'
'gettext'
)
source=("$_pkgname-$pkgver.tar.gz::https://github.com/chocolateimage/fontviewer/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('fa156708982ff1beb39a8437501f6c2f9f8cc8f999ec4bac9fe9c2a3af0c5c90')
build() {
cd "$_pkgname-$pkgver"
meson setup builddir -Dbuildtype=release --prefix /usr
cd "builddir"
meson compile
}
package() {
cd "$_pkgname-$pkgver"
cd "builddir"
meson install --no-rebuild --destdir="$pkgdir"
}
|