blob: 0d69ddbcea83ce6fbd7e573b5c86b42df53272ea (
plain)
1 # Description: A text widget adding syntax highlighting.
2 # URL: http://www.gnome.org/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Packager: Danny Rawlins, crux at romster dot me
5 # Depends on: gtk3
6 # Optional: glade vala
7
8 name=gtksourceview
9 version=3.14.3
10 release=2
11 source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version:0:4}/$name-$version.tar.xz)
12
13 build() {
14 cd $name-$version
15
16 if [ -n "$(pkginfo -i | grep '^glade ')" ]; then
17 local glade=--enable-glade-catalog
18 fi
19
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/man \
23 --disable-nls \
24 --disable-dependency-tracking \
25 "$glade"
26
27 make
28 make DESTDIR=$PKG install
29
30 rm -r $PKG/usr/share/gtk-doc
31 }
|