diff options
Diffstat (limited to 'community/nemiver')
-rw-r--r-- | community/nemiver/PKGBUILD | 39 | ||||
-rw-r--r-- | community/nemiver/nemiver.install | 21 |
2 files changed, 60 insertions, 0 deletions
diff --git a/community/nemiver/PKGBUILD b/community/nemiver/PKGBUILD new file mode 100644 index 000000000..aa1c44307 --- /dev/null +++ b/community/nemiver/PKGBUILD @@ -0,0 +1,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: diff --git a/community/nemiver/nemiver.install b/community/nemiver/nemiver.install new file mode 100644 index 000000000..a14d235b9 --- /dev/null +++ b/community/nemiver/nemiver.install @@ -0,0 +1,21 @@ +pkgname=nemiver + +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q + gtk-update-icon-cache -f -q -t usr/share/icons/hicolor +} + +pre_upgrade() { + if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then + usr/sbin/gconfpkg --uninstall ${pkgname} + fi +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |