summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ebc7532cc8503268ec8276ed9e9d3381c67c9b70 (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
#Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgname=lxkb_config-git
pkgver=r153.cec6ebd
pkgrel=1
pkgdesc='A keyboard configuration application for LXDE'
arch=('i686' 'x86_64')
url="http://lxde.org/"
license=('GPL')
groups=('lxde')
provides=('lxkb_config')
conflicts=('lxkb_config')
depends=('gtk2')
makedepends=('git' 'intltool')
options=('!emptydirs')

source=("$pkgname::git://lxde.git.sourceforge.net/gitroot/lxde/lxkb_config")
md5sums=('SKIP')

pkgver() {
  cd $pkgname
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd $pkgname
  autoreconf -fiv
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

package() {
  cd $pkgname
  make DESTDIR="$pkgdir" install
}