summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9e831c45c616cf6c9bb07ed087f78fb4d40cffa9 (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
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=rep-gtk-git
pkgver=0.90.8.3.3.g85f3329
pkgrel=1
pkgdesc="Binding of the GTK and GDK libraries for the librep Lisp environment - git version"
arch=('i686' 'x86_64')
url="http://rep-gtk.sourceforge.net/"
license=('GPL')
depends=('librep' 'gtk2')
conflicts=('rep-gtk')
provides=('rep-gtk=0.90.8.1')
options=('!libtool')
options=('libtool')
source=(git://github.com/SawfishWM/rep-gtk.git)
md5sums=('SKIP')
_gitname=rep-gtk

pkgver() {
  cd $_gitname
  echo $(git describe --tags |sed 's/-/./g'|cut -c9-)
}

build() {
  cd $_gitname

  ./autogen.sh 
  ./configure --prefix=/usr 
  make
}

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