summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f170d97c2e107fe6cb86ddb64d35938f726ffdd1 (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.5.g2c017bb
pkgrel=2
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://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 
}