summaryrefslogtreecommitdiff
path: root/testing/xfce4-quicklauncher-plugin/PKGBUILD
blob: e9b2e22230e455b945f9eccdf47e61910dd96d41 (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
44
45
46
47
48
49
50
# $Id: PKGBUILD 148355 2012-01-30 18:51:48Z ibiru $
# Maintainer: 
# Contributor: Tobias Kieslich <tobias (at) archlinux.org>

pkgname=xfce4-quicklauncher-plugin
pkgver=1.9.4
pkgrel=6
pkgdesc="plugin that creates 4 little application launcher in the Xfce4 panel"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://xfce-goodies.berlios.de/"
groups=('xfce4-goodies')
depends=('xfce4-panel>=4.7.4' 'libxfcegui4')
makedepends=('intltool')
options=('!libtool')
source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/1.9/${pkgname}-${pkgver}.tar.bz2
	xfce4-quicklauncher-plugin-1.9.4-desktop-file.patch
	xfce4-quicklauncher-plugin-1.9.4-fix-missing-english-translation.patch
	xfce4-quicklauncher-plugin-1.9.4-fix-multiscreen.patch
	xfce4-quicklauncher-plugin-1.9.4-save-settings.patch
	xfce4-quicklauncher-plugin-1.9.4-xfce4-settings-manager.patch)
md5sums=('299e17f196ecfa5fb018cf65abb19b56'
         'a7826c9f8199a2f1e914fd39b7f9e2bf'
         '4ea4d06ab7284e78ddc4d60304f02cdf'
         '5e8126c05def1211fb4a2a65f2812a1b'
         '474237b205035214df1c723407251ade'
         '9e7f789129b08c787978c7a72a55fae7')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  # Fedora patches
  patch -Np0 -i ${srcdir}/xfce4-quicklauncher-plugin-1.9.4-desktop-file.patch
  patch -Np0 -i ${srcdir}/xfce4-quicklauncher-plugin-1.9.4-fix-multiscreen.patch
  patch -Np1 -i ${srcdir}/xfce4-quicklauncher-plugin-1.9.4-save-settings.patch
  patch -Np1 -i ${srcdir}/xfce4-quicklauncher-plugin-1.9.4-fix-missing-english-translation.patch
  patch -Np0 -i ${srcdir}/xfce4-quicklauncher-plugin-1.9.4-xfce4-settings-manager.patch
  
  ./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib \
	--localstatedir=/var \
	--disable-static \
	--disable-debug
  make
}

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