summaryrefslogtreecommitdiff
path: root/repo/gtksourceview/gtksourceview.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
committerdavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
commit9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch)
tree278bbf05c72536a30e701eebbd3546ba137543e7 /repo/gtksourceview/gtksourceview.xibuild
parentf6332a43c35387c4a2dea1746be5fd092890ae0e (diff)
added python deps for libvirt
Diffstat (limited to 'repo/gtksourceview/gtksourceview.xibuild')
-rw-r--r--repo/gtksourceview/gtksourceview.xibuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/gtksourceview/gtksourceview.xibuild b/repo/gtksourceview/gtksourceview.xibuild
new file mode 100644
index 0000000..bf69b12
--- /dev/null
+++ b/repo/gtksourceview/gtksourceview.xibuild
@@ -0,0 +1,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
+}