summaryrefslogtreecommitdiff
path: root/community/gphpedit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gphpedit/PKGBUILD')
-rw-r--r--community/gphpedit/PKGBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/community/gphpedit/PKGBUILD b/community/gphpedit/PKGBUILD
index 81d1cfd2e..8fdf88e6b 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 <pupykin.s+arch@gmail.com>
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>
pkgname=gphpedit
pkgver=0.9.98RC1
-pkgrel=3
+pkgrel=4
pkgdesc="a scintilla/gnome based editor specialized on php-files"
arch=(i686 x86_64 'mips64el')
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')
@@ -21,12 +21,11 @@ md5sums=('cc3c5f50704fa0ed3ef3d4ac983db525'
build() {
cd ${srcdir}/*$pkgname*
- patch -Np1 -i ${srcdir}/gphpedit-0.9.98RC1-gmodule.patch
- ./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
}