summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2abb726d4f9d06bb0cbd8edfc13fb27ab5babc75 (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
# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: Jason Kercher <jkercher43 at gmail>
pkgname=gtksourceview2
pkgver=2.10.5
pkgrel=5
pkgdesc="A text widget that extends the standard gtk+ 2.x"
arch=(x86_64)
url="https://download.gnome.org/sources/gtksourceview"
license=(LGPL-2.1-or-later)
depends=(harfbuzz glibc cairo bash python gtk2 at-spi2-core pango libxml2 glib2 fontconfig freetype2 gdk-pixbuf2)
makedepends=('intltool' 'glib2-devel')
checkdepends=()
provides=()
source=("$url/2.10/gtksourceview-$pkgver.tar.gz")
md5sums=(220db5518e3f7fa06c980f057b22ba62)

build() {
	cd "gtksourceview-$pkgver/"
	CFLAGS="$CFLAGS -Wno-error=incompatible-pointer-types"
	./configure --prefix=/usr
	make
}

package() {
	cd "gtksourceview-$pkgver"
	make DESTDIR="$pkgdir/" install
}