blob: de06e68c5d42fe13c005ed219bdc7c0c4a9b1da7 (
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
|
# Maintainer: chocolateimage <chocolateimage@protonmail.com>
_pkgname=fontviewer
pkgname=choco-fontviewer
pkgver=1.1.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'
)
source=("$_pkgname-$pkgver.tar.gz::https://github.com/chocolateimage/fontviewer/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('740761cdfb1741e5423b805c2a7a97d0c354c601c0904f5518dc28516495af1d')
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"
}
|