updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / efax-gtk / PKGBUILD
blob65bde4f8908f2d539e402a116fc19dce764c833e
1 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
3 pkgname=efax-gtk
4 pkgver=3.2.8
5 pkgrel=1
6 pkgdesc="A GUI front end for the 'efax' fax program"
7 arch=('i686' 'x86_64')
8 url="http://efax-gtk.sourceforge.net/"
9 license=('GPL')
10 depends=('dbus-glib' 'gtk3' 'ghostscript')
11 makedepends=('pkg-config')
12 optdepends=('heirloom-mailx: to use the mail_fax script')
13 backup=('etc/efax-gtkrc')
14 install=efax-gtk.install
15 source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.src.tgz")
16 md5sums=('275ad1706e5c38e2b153dddd8a16724f')
18 build() {
19   cd "${srcdir}/${pkgname}-${pkgver}"
21   ./configure --prefix=/usr \
22               --sysconfdir=/etc \
23               --with-spooldir=/usr/bin
24   make
27 package() {
28   cd "${srcdir}/${pkgname}-${pkgver}"
30   make DESTDIR="${pkgdir}" install
31   install -m 755 mail_fax print_fax "${pkgdir}/usr/bin"