summaryrefslogtreecommitdiff
path: root/repo/gtksourceview/gtksourceview.xibuild
blob: bf69b1270ff3a051c8bee4eb84dfb0fcfd3cbadb (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
#!/bin/sh

NAME="gtksourceview"
DESC="A text widget adding syntax highlighting and more to GNOME"

MAKEDEPS="gtk3 libxml2 gobject-introspection automake autoconf libtool gtk2"

PKG_VER=3.24.11
SOURCE="https://download.gnome.org/sources/gtksourceview/${PKG_VER%.*}/gtksourceview-$PKG_VER.tar.xz"

prepare() {
	apply_patches
	autoreconf -fi
}

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static
	make
}

package() {
	make DESTDIR="$PKG_DEST" install
}