summaryrefslogtreecommitdiff
path: root/extra/xfce4-clipman-plugin/PKGBUILD
blob: 0c6eb27fecbf8c7f5131831ded18ec58ac1382fc (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
# $Id: PKGBUILD 105771 2011-01-11 17:17:59Z andyrtr $
# Maintainer: tobias <tobias at archlinux.org>
# Contributor: Aurelien Foret <orelien@chez.com>

pkgname=xfce4-clipman-plugin
pkgver=1.1.3
pkgrel=2
pkgdesc="A clipboard plugin for the Xfce4 panel"
arch=(i686 x86_64 'mips64el')
license=('custom')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin"
groups=('xfce4-goodies')
depends=('libxfcegui4' 'xfce4-panel' 'libunique' 'hicolor-icon-theme')
makedepends=('pkgconfig' 'intltool')
options=('!libtool')
install=${pkgname}.install
source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/1.1/${pkgname}-${pkgver}.tar.bz2)
md5sums=('2ba70c6bd710e2a18cba5add66d297dc')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  # fix for exo 0.5.6
  sed -i -e "s/exo-0.3/exo-1/g" configure
  ./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib \
	--localstatedir=/var \
	--disable-static \
	--enable-unique \
	--disable-debug
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
  install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}