summaryrefslogtreecommitdiff
path: root/extra/xfce4-mailwatch-plugin/PKGBUILD
blob: 234f034adccd707117c0d87993e06c46efecc862 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $Id: PKGBUILD 108113 2011-01-29 14:05:40Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Suzy Williams <suzanne.williams3@verizon.net>

pkgname=xfce4-mailwatch-plugin
pkgver=1.1.0
pkgrel=3
pkgdesc="A mailbox watch/check plugin for the Xfce4 panel"
arch=(i686 x86_64)
license=('GPL2')
url="http://spurint.org/projects/xfce4-mailwatch-plugin/"
groups=('xfce4-goodies')
depends=('xfce4-panel' 'libxfcegui4' 'gnutls>=2.4.1' 'hicolor-icon-theme')
makedepends=('intltool' 'xfce4-dev-tools')
options=('!libtool')
install=${pkgname}.install
source=(http://spuriousinterrupt.org/files/mailwatch/${pkgname}-${pkgver}.tar.bz2
	xfce4-mailwatch-plugin-1.1.0-underlink.patch)
md5sums=('f84dce86be1d7f25f169f262aaacee4e'
         '47fe8588e3bb642e1b507a854927e6db')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  # fix for panel4.8 from Fedora
  patch -Np1 -i ${srcdir}/xfce4-mailwatch-plugin-1.1.0-underlink.patch
  xdt-autogen
  ./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib \
	--localstatedir=/var \
	--disable-static \
	--disable-debug
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}