summaryrefslogtreecommitdiff
path: root/extra/xfce4-screenshooter/PKGBUILD
blob: 4db62381271aabedfd0405d33867dd595c7d287b (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
40
41
42
43
# $Id: PKGBUILD 104774 2011-01-04 21:47:46Z andyrtr $
# Maintainer: tobias <tobias funnychar archlinux.org>
# Contributor: Tobias Kieslich <tobias (at) archlinux.org>

pkgname=xfce4-screenshooter
pkgver=1.7.9
pkgrel=2
pkgdesc="plugin that makes screenshots for the Xfce4 panel"
arch=(i686 x86_64)
license=('GPL2')
url="http://goodies.xfce.org/projects/applications/xfce4-screenshooter"
groups=('xfce4-goodies')
#depends=('xfce4-panel' 'libxfcegui4' 'libxfce4ui' 'exo' 'libsoup' 'hicolor-icon-theme')
depends=('xfce4-panel' 'libxfcegui4' 'libsoup' 'hicolor-icon-theme')
makedepends=('intltool')
install=${pkgname}.install
options=('!libtool')
source=(http://archive.xfce.org/src/apps/${pkgname}/1.7/${pkgname}-${pkgver}.tar.bz2
	xfce4-screenshooter-1.7.9-dsofix.patch
	fix_segfault.diff)
conflicts=('xfce4-screenshooter-plugin')
replaces=('xfce4-screenshooter-plugin')
md5sums=('c01d1cf3830bf8d60e09c0cdd223034c'
         '355a7d005bf9200f5a5577f0bc901945'
         '794d7e0ff18cad369bd50a78e883f986')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  patch -Np1 -i ${srcdir}/xfce4-screenshooter-1.7.9-dsofix.patch
  patch -Np1 -i ${srcdir}/fix_segfault.diff
  ./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib \
	--localstatedir=/var \
	--disable-static \
	--disable-debug
  make
}

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