summaryrefslogtreecommitdiff
path: root/community/libgtksourceviewmm2/PKGBUILD
blob: ad2ea0a9521d2ce8756c3585e7289912c4e8a370 (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
# $Id: PKGBUILD 63642 2012-02-05 12:02:56Z ibiru $
# Maintainer: Roman Kyrylych <roman@archlinux.org>
# Contributor: Roman Kyrylych <roman@archlinux.org>

pkgname=libgtksourceviewmm2
pkgver=2.10.1
pkgrel=2.1
pkgdesc='A C++ API for gtksourceview2'
arch=('i686' 'x86_64' 'mips64el')
url='http://projects.gnome.org/gtksourceviewmm/'
license=('LGPL')
depends=('gtkmm' 'gtksourceview2')
makedepends=('doxygen' 'glibmm-docs')
options=('!libtool' '!emptydirs')
source=("http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/2.10/gtksourceviewmm-$pkgver.tar.bz2"
	"libgtksourceviewmm2-2.10.1-glib.patch")
md5sums=('83d1b3dc061f02f4ff1766b37302058e'
	 '266f8102e5cc4727ca565796f0254f76')

build() {
  cd gtksourceviewmm-${pkgver}
  patch -Np1 -i ${srcdir}/libgtksourceviewmm2-2.10.1-glib.patch
  ./configure \
    --prefix=/usr

  make
}

package() {
  cd gtksourceviewmm-${pkgver}

  make DESTDIR=${pkgdir} install
}