summaryrefslogtreecommitdiff
path: root/community/efax-gtk
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-26 23:15:38 +0000
committerroot <root@rshg054.dnsready.net>2011-10-26 23:15:38 +0000
commit84fe155e2233db86fcc13134d8802ba1dab0ae83 (patch)
treeef0f4e11745d4bf9e45ee5fa553dd4b13d6c3407 /community/efax-gtk
parentd03e905f54857600b3c36af9b221c34ccb11074f (diff)
Wed Oct 26 23:15:38 UTC 2011
Diffstat (limited to 'community/efax-gtk')
-rw-r--r--community/efax-gtk/PKGBUILD33
-rw-r--r--community/efax-gtk/efax-gtk.install11
2 files changed, 44 insertions, 0 deletions
diff --git a/community/efax-gtk/PKGBUILD b/community/efax-gtk/PKGBUILD
new file mode 100644
index 000000000..611b45f8b
--- /dev/null
+++ b/community/efax-gtk/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 57276 2011-10-25 09:32:03Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+
+pkgname=efax-gtk
+pkgver=3.2.8
+pkgrel=1
+pkgdesc="A GUI front end for the 'efax' fax program"
+arch=('i686' 'x86_64')
+url="http://efax-gtk.sourceforge.net/"
+license=('GPL')
+depends=('dbus-glib' 'gtk3' 'ghostscript')
+makedepends=('pkg-config')
+optdepends=('heirloom-mailx: to use the mail_fax script')
+backup=('etc/efax-gtkrc')
+install=efax-gtk.install
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.src.tgz")
+md5sums=('275ad1706e5c38e2b153dddd8a16724f')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-spooldir=/usr/bin
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+ install -m 755 mail_fax print_fax "${pkgdir}/usr/bin"
+}
diff --git a/community/efax-gtk/efax-gtk.install b/community/efax-gtk/efax-gtk.install
new file mode 100644
index 000000000..69e30acd6
--- /dev/null
+++ b/community/efax-gtk/efax-gtk.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}