summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8c04adffec18aaa187918d2291dfb8af84169a22 (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
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Maintainer: Yosef Or Boczko <yoseforb@gnome.org>

_pkgname=gtksourceview3
pkgname=$_pkgname-git
_pkgbasename=gtksourceview
pkgver=3.17.3.11.g0685c16
_realver=3.17.3
pkgrel=1
pkgdesc="A text widget adding syntax highlighting and more to GNOME"
arch=('i686' 'x86_64')
license=('LGPL')
depends=("gtk3" 'libxml2' "glib2")
makedepends=('intltool' 'gobject-introspection' 'glade' 'gtk-doc' 'gnome-common')
options=('!libtool')
url="http://www.gnome.org"
conflicts=('gtksourceview3')
replaces=('gtksourceview3')
provides=("gtksourceview3=${_realver}")
source=('git://git.gnome.org/gtksourceview')
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgbasename"
  git describe --always | sed 's|-|.|g'
}

build() {
  cd "$srcdir/$_pkgbasename"
  ./autogen.sh --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var --disable-static \
      --enable-glade-catalog --enable-gtk-doc
  make
}

package() {
  cd "$srcdir/$_pkgbasename"
  make DESTDIR="$pkgdir" install
}