summaryrefslogtreecommitdiff
path: root/community/gphpedit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/gphpedit
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/gphpedit')
-rw-r--r--community/gphpedit/PKGBUILD29
-rw-r--r--community/gphpedit/gphpedit.install12
2 files changed, 41 insertions, 0 deletions
diff --git a/community/gphpedit/PKGBUILD b/community/gphpedit/PKGBUILD
new file mode 100644
index 000000000..589ee4afe
--- /dev/null
+++ b/community/gphpedit/PKGBUILD
@@ -0,0 +1,29 @@
+# $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=4
+pkgdesc="a scintilla/gnome based editor specialized on php-files"
+arch=(i686 x86_64)
+license=('GPL')
+depends=('gconf' 'webkitgtk2' 'desktop-file-utils' 'hicolor-icon-theme')
+makedepends=('intltool')
+url="http://www.gphpedit.org/"
+options=('!makeflags')
+install=gphpedit.install
+source=(http://www.gphpedit.org/sites/default/files/gphpedit-$pkgver.tar.gz)
+md5sums=('cc3c5f50704fa0ed3ef3d4ac983db525')
+
+build() {
+ cd ${srcdir}/*$pkgname*
+ LDFLAGS=`pkg-config --libs gmodule-2.0` ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make
+}
+
+package() {
+ cd ${srcdir}/*$pkgname*
+ make DESTDIR=$pkgdir install
+}
diff --git a/community/gphpedit/gphpedit.install b/community/gphpedit/gphpedit.install
new file mode 100644
index 000000000..8e46769be
--- /dev/null
+++ b/community/gphpedit/gphpedit.install
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install
+}