summaryrefslogtreecommitdiff
path: root/community/nemiver/PKGBUILD
blob: aa1c443079665b29ce1e5e84903d3a3e0eec4382 (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
# $Id: PKGBUILD 57366 2011-10-26 13:00:32Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: jordz <jordz@archlinux.us>
pkgname=nemiver
pkgver=0.9.0
pkgrel=3
pkgdesc="A C/C++ debugger for GNOME"
arch=('x86_64' 'i686')
license=('GPL')
url="http://www.gnome.org/projects/nemiver/"
depends=('gdb' 'gtksourceviewmm' 'libgtop' 'vte3' 'ghex' 'gconf')
makedepends=('boost' 'intltool' 'gnome-doc-utils')
install=nemiver.install
source=("http://ftp.acc.umu.se/pub/GNOME/sources/${pkgname}/0.9/${pkgname}-${pkgver}.tar.xz")
options=('!libtool' '!emptydirs')
md5sums=('03a2c34d4c04fd69749c01975a97c0c2') 

build() {	
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var --disable-static \
    --with-boost --disable-scrollkeeper \
    --enable-symsvis=yes --enable-gio=yes \
    --enable-memoryview=yes
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${pkgdir} install
  install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" \
    --domain nemiver ${pkgdir}/etc/gconf/schemas/*.schemas
  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}

# vim:set ts=2 sw=2 et: