summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 612cfb1e92992fbb335f4549a40dbf1c14ef0fa7 (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: Raphael Scholer <rscholer@gmx.de>
_pkgname=xfce4-kbdleds-plugin
pkgname=${_pkgname}-git
pkgver=0.0.6_7_gecc3609
pkgrel=1
pkgdesc="Xfce keyboard LEDs panel plugin"
arch=('i686' 'x86_64')
url="http://goodies.xfce.org/projects/panel-plugins/${_pkgname}"
license=('GPL2')
depends=('xfce4-panel')
makedepends=('git' 'intltool' 'xfce4-dev-tools')
conflicts=("${_pkgname}")
source=("git+git://git.xfce.org/panel-plugins/${_pkgname}")
install="${pkgname}.install"
sha256sums=('SKIP')

pkgver() {
    cd "${_pkgname}"
    echo "$(git describe --always |sed "s#${_pkgname}-##g;s#-#_#g;s#v##")"
}

build() {
  cd "${_pkgname}"
  ./autogen.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd "${_pkgname}"
  make DESTDIR="${pkgdir}" install
}
# vim:set ts=2 sw=2 et: