Skip to content

Commit

Permalink
archrelease: copy trunk to extra-i686
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/repos/svn-packages/svn@81924 eb2447ed-0c53-47e4-bac8-5bc4a241df78
  • Loading branch information
jgc committed Jun 7, 2010
1 parent 982b2b3 commit b8a521a
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
30 changes: 30 additions & 0 deletions anjuta/repos/extra-i686/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# $Id$
# Mantainer: Andreas Radke <[email protected]>
# Contributor: Harley Laue <[email protected]>

pkgname=anjuta
pkgver=2.30.2.0
pkgrel=1
pkgdesc="Anjuta Integrated Development Environment (IDE)"
arch=('i686' 'x86_64')
license=('GPL')
depends=('libunique>=1.1.6' 'gconf>=2.28.1' 'vte>=0.24.1' 'gdl>=2.30.0' 'autogen>=5.9.9' 'devhelp>=2.28.1' 'gtksourceview2>=2.10.1' 'glade>=3.6.7' 'libgda>=4.0.8' 'subversion>=1.6.9' 'gnome-icon-theme>=2.30.2' 'perl-locale-gettext')
makedepends=('gnome-doc-utils>=0.20.1' 'intltool')
conflicts=('gnome-build')
replaces=('gnome-build')
url="http://anjuta.sourceforge.net/"
install=anjuta.install
source=(ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.30/${pkgname}-${pkgver}.tar.bz2)
options=('!libtool' '!emptydirs')
sha256sums=('a281fe303fce08026407b24e8a676f4458031bc6dd6b2799c028494d22dcd34b')

build() {
cd "${srcdir}/anjuta-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-scrollkeeper || return 1
make || return 1
make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1

install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain anjuta ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}
28 changes: 28 additions & 0 deletions anjuta/repos/extra-i686/anjuta.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
pkgname=anjuta

post_install() {
usr/sbin/gconfpkg --install ${pkgname}
update-mime-database usr/share/mime > /dev/null
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
gtk-update-icon-cache -q -t -f usr/share/icons/gnome
update-desktop-database -q
}

pre_upgrade() {
pre_remove $1
}

post_upgrade() {
post_install $1
}

pre_remove() {
usr/sbin/gconfpkg --uninstall ${pkgname}
}

post_remove() {
update-mime-database usr/share/mime > /dev/null
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
gtk-update-icon-cache -q -t -f usr/share/icons/gnome
update-desktop-database -q
}

0 comments on commit b8a521a

Please sign in to comment.