# $Id: PKGBUILD 79527 2012-11-06 17:22:36Z giovanni $ # Maintainer: Giovanni Scafora pkgname=efax-gtk pkgver=3.2.10 pkgrel=1 pkgdesc="A GUI front end for the 'efax' fax program" arch=('i686' 'x86_64' 'mips64el') 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=('24a21ac319b6074390f296e3fb7d4f23') 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" }