From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/gphpedit/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 community/gphpedit/PKGBUILD (limited to 'community/gphpedit/PKGBUILD') diff --git a/community/gphpedit/PKGBUILD b/community/gphpedit/PKGBUILD new file mode 100644 index 000000000..352a3252d --- /dev/null +++ b/community/gphpedit/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 18217 2010-06-01 12:55:06Z spupykin $ +# Maintainer: Sergej Pupykin +# Maintainer: tobias +# Contributor: Tobias Kieslich + +pkgname=gphpedit +pkgver=0.9.98RC1 +pkgrel=1 +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') +url="http://www.gphpedit.org/" +options=('!makeflags') +install=gphpedit.install +source=(http://www.gphpedit.org/sites/default/files/gphpedit-$pkgver.tar.gz + doc-fix.patch) +md5sums=('cc3c5f50704fa0ed3ef3d4ac983db525' + 'db5e427642af2971accbcd90812ae88c') + +build() { + cd ${srcdir}/*$pkgname* +# patch -Np1 -i ${srcdir}/doc-fix.patch || return 1 + + ./autogen.sh + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + make || return 1 + make DESTDIR=$pkgdir install || return 1 + + # extend MimeType declaration + echo "MimeType=application/x-php;text-x-php-text/x-php-source;" >> \ + $pkgdir/usr/share/applications/gphpedit.desktop +} -- cgit v1.2.3-54-g00ecf