30 lines
605 B
Plaintext
30 lines
605 B
Plaintext
# Description: A text widget adding syntax highlighting.
|
|
# URL: http://www.gnome.org/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: gtk3
|
|
# Optional: glade vala
|
|
|
|
name=gtksourceview
|
|
version=3.24.11
|
|
release=1
|
|
source=(https://ftp.gnome.org/pub/gnome/sources/$name/${version:0:4}/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
if [ -n "$(pkginfo -i | grep '^glade ')" ]; then
|
|
local glade=--enable-glade-catalog
|
|
fi
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-nls \
|
|
--disable-dependency-tracking \
|
|
"$glade"
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share/gtk-doc
|
|
}
|