summaryrefslogtreecommitdiff
path: root/community/nemiver
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-04 23:14:55 +0000
committerroot <root@rshg054.dnsready.net>2012-01-04 23:14:55 +0000
commit85828cc2c2c3ef5c0b9b03388b9323d3d163b389 (patch)
treed2f2125c0ff38894f9c3ffe29164f5f763a762f0 /community/nemiver
parentd1d68784dc66793601c239fa64cc0e02ebd9444e (diff)
Wed Jan 4 23:14:55 UTC 2012
Diffstat (limited to 'community/nemiver')
-rw-r--r--community/nemiver/PKGBUILD32
-rw-r--r--community/nemiver/nemiver.install24
2 files changed, 26 insertions, 30 deletions
diff --git a/community/nemiver/PKGBUILD b/community/nemiver/PKGBUILD
index 6622ff29c..95cf51837 100644
--- a/community/nemiver/PKGBUILD
+++ b/community/nemiver/PKGBUILD
@@ -1,39 +1,41 @@
-# $Id: PKGBUILD 59670 2011-11-29 09:31:30Z arodseth $
+# $Id: PKGBUILD 61581 2012-01-03 18:29:08Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: jordz <jordz@archlinux.us>
pkgname=nemiver
pkgver=0.9.1
-pkgrel=1
+pkgrel=2
pkgdesc="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' 'dconf')
+depends=('gdlmm' 'gdb' 'gtksourceviewmm' 'libgtop' 'vte3' 'ghex' 'dconf' 'gsettings-desktop-schemas')
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')
+source=("http://ftp.acc.umu.se/pub/GNOME/sources/nemiver/0.9/$pkgname-$pkgver.tar.xz")
+options=(!libtool !emptydirs)
md5sums=('9c0275e7a2d9f9fb48f279387969281b')
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
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --with-boost \
+ --disable-scrollkeeper \
+ --enable-symsvis=yes \
+ --enable-memoryview=yes \
+ --disable-schemas-compile \
+ --enable-gsettings=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
+ make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
diff --git a/community/nemiver/nemiver.install b/community/nemiver/nemiver.install
index a14d235b9..f6a1886e7 100644
--- a/community/nemiver/nemiver.install
+++ b/community/nemiver/nemiver.install
@@ -1,21 +1,15 @@
-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() {
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+ #update-desktop-database -q
+ #gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
-post_upgrade() {
- post_install $1
+post_install() {
+ post_upgrade
}
post_remove() {
- post_install $1
+ post_upgrade
}
+
+# vim:set ts=2 sw=2 et: