blob: ab6faaa1dee7749a618097b084dc515ca6c03161 (
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
|
# Contributor:Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gtksourceview4
pkgver=4.4.0
pkgrel=0
pkgdesc="A text widget adding syntax highlighting and more to GNOME"
url="https://wiki.gnome.org/Projects/GtkSourceView"
arch="all"
license="GPL-2.0-or-later"
replaces="gtksourceview"
depends_dev="gtk+3.0-dev libxml2-dev"
makedepends="$depends_dev gobject-introspection-dev vala libxslt meson glade-dev"
checkdepends="xvfb-run ibus"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/gtksourceview/${pkgver%.*}/gtksourceview-$pkgver.tar.xz"
builddir="$srcdir/gtksourceview-$pkgver"
build() {
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
-Dglade_catalog=true \
. output
ninja -C output
}
check() {
xvfb-run ninja -C output test
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="068e723525290c5356c5ce3f5e5b5b8ecc9f7b1ff2f8234da247d1a84bed63ff5601cad6550981720859286e107705ec25cc7793b754ada164ec6569df0df9eb gtksourceview-4.4.0.tar.xz"
|