From 0f02baec6afdab918d86a226ee9a984482b5a534 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 17 Apr 2013 00:05:54 -0700 Subject: Wed Apr 17 00:05:54 PDT 2013 --- community/gphpedit/PKGBUILD | 16 ++++++++-------- community/gphpedit/gphpedit.install | 1 + 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'community/gphpedit') diff --git a/community/gphpedit/PKGBUILD b/community/gphpedit/PKGBUILD index 8bd94d706..589ee4afe 100644 --- a/community/gphpedit/PKGBUILD +++ b/community/gphpedit/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 65586 2012-02-21 09:11:19Z spupykin $ +# $Id: PKGBUILD 88295 2013-04-16 02:34:03Z bgyorgy $ # Maintainer: Sergej Pupykin # Maintainer: tobias # Contributor: Tobias Kieslich pkgname=gphpedit pkgver=0.9.98RC1 -pkgrel=3 +pkgrel=4 pkgdesc="a scintilla/gnome based editor specialized on php-files" arch=(i686 x86_64) license=('GPL') -depends=('libgnomeui>=2.18.1-2' 'libgtkhtml>=2.11.0' 'desktop-file-utils' 'libwebkit') +depends=('gconf' 'webkitgtk2' 'desktop-file-utils' 'hicolor-icon-theme') makedepends=('intltool') url="http://www.gphpedit.org/" options=('!makeflags') @@ -19,11 +19,11 @@ md5sums=('cc3c5f50704fa0ed3ef3d4ac983db525') build() { cd ${srcdir}/*$pkgname* - ./autogen.sh - LDFLAGS=`pkg-config --libs gtk+-2.0` ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + LDFLAGS=`pkg-config --libs gmodule-2.0` ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var make +} + +package() { + cd ${srcdir}/*$pkgname* make DESTDIR=$pkgdir install - # extend MimeType declaration - echo "MimeType=application/x-php;text-x-php-text/x-php-source;" >> \ - $pkgdir/usr/share/applications/gphpedit.desktop } diff --git a/community/gphpedit/gphpedit.install b/community/gphpedit/gphpedit.install index 39bc96919..8e46769be 100644 --- a/community/gphpedit/gphpedit.install +++ b/community/gphpedit/gphpedit.install @@ -1,5 +1,6 @@ post_install() { update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor } post_upgrade() { -- cgit v1.2.3-54-g00ecf