summaryrefslogtreecommitdiff
path: root/community-staging/efax-gtk
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-20 23:14:48 +0000
committerroot <root@rshg054.dnsready.net>2012-01-20 23:14:48 +0000
commita1922d0ec660fdc1892f2783515f781c090df0a9 (patch)
tree6d38a09231ff439c051261d41bfa066870e1fccb /community-staging/efax-gtk
parenteefecc8813e0c062a2058b33209cb30830f824b6 (diff)
Fri Jan 20 23:14:48 UTC 2012
Diffstat (limited to 'community-staging/efax-gtk')
-rw-r--r--community-staging/efax-gtk/PKGBUILD33
-rw-r--r--community-staging/efax-gtk/efax-gtk.install11
2 files changed, 44 insertions, 0 deletions
diff --git a/community-staging/efax-gtk/PKGBUILD b/community-staging/efax-gtk/PKGBUILD
new file mode 100644
index 000000000..faf04dd39
--- /dev/null
+++ b/community-staging/efax-gtk/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 62427 2012-01-19 22:13:20Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+
+pkgname=efax-gtk
+pkgver=3.2.9
+pkgrel=2
+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' 'ghostscript' 'c++-gtk-utils')
+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=('57fac8815c8f49fc7415d3558eb3f842')
+
+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-staging/efax-gtk/efax-gtk.install b/community-staging/efax-gtk/efax-gtk.install
new file mode 100644
index 000000000..69e30acd6
--- /dev/null
+++ b/community-staging/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
+}