summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: abf95007d6cc53fb72e49986992a2f7f0f3c9858 (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
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=sawfish-pager-git
pkgver=0.90.4.7.g42591a2
pkgrel=1
pkgdesc='A pager for the git-version of sawfish'
arch=('i686' 'x86_64')
url='http://sawfish.wikia.com'
license=('GPL')
depends=('sawfish-git')
makedepends=('git' 'rep-gtk-git' 'gettext')
provides=('sawfish-pager')
conflicts=('sawfish-pager')
options=('!libtool')
source=(git+https://github.com/SawfishWM/sawfish-pager.git)
md5sums=('SKIP')

pkgver() {
  cd ${pkgname%-git}
  # Git tag
  echo $(git describe --tags|sed 's/-/./g'|cut -c15-)
}

build() {
  cd ${pkgname%-git}
  ./autogen.sh 
  ./configure --prefix=/usr 
  make 
}

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