summaryrefslogtreecommitdiff
path: root/repo/gtksourceview/gtksourceview.xibuild
blob: 2da05389bb2d5311c15ba554f2ff651930d4cc0f (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=5.5.1
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
}