summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dc7be89643595b4ec25e99abb868348f9005a26d (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
# Maintainer: Marc MAURICE <marc-archlinux at pub.positon.org>
# Maintainer: Rob McCathie <archaur at rmcc dot com dot au>

pkgname=xfdashboard-git
pkgver=1.0.0.r1.g6e243c7
pkgrel=1
pkgdesc="Maybe a Gnome shell like dashboard for Xfce"
conflicts=('xfdashboard')
provides=('xfdashboard')
arch=('i686' 'x86_64')
url="http://xfdashboard.froevel.de/"
license=('GPL')
depends=('clutter>=1.12' 'dbus-glib>=0.98' 'garcon>=0.2.0' 'glib2>=2.32' 'libwnck3>=3.0' 'xfconf>=4.10.0')
makedepends=('xfce4-dev-tools' 'git')
source=("git+https://github.com/gmc-holle/xfdashboard.git")
sha1sums=('SKIP')

# https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines#Git
pkgver() {
  cd "$srcdir/xfdashboard"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "$srcdir/xfdashboard"
  ./autogen.sh --prefix=/usr --sysconfdir=/etc
  make
}

package() {
  cd "$srcdir/xfdashboard"
  make DESTDIR="$pkgdir" install
}