summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3df7083ad5f7e77cf3751c14c2396c589770c9f9 (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:  WorMzy Tykashi <wormzy.tykashi@gmail.com>
# Contributor:  Victor Feight <vrfeight3 at gmail dot com>

pkgname=gsimplecal-git
_gitname=gsimplecal
pkgver=2.1_r1_g2dc6bba
pkgrel=1
pkgdesc="Simple and lightweight GTK calendar (git)"
arch=('i686' 'x86_64')
url="http://dmedvinsky.github.com/gsimplecal/"
license=('GPL')
depends=('gtk3')
makedepends=('git')
conflicts=('gsimplecal-hg' 'gsimplecal')
source=(git+'https://github.com/dmedvinsky/gsimplecal.git')
md5sums=('SKIP')

pkgver() {
  cd ${_gitname}
  git describe --long --tags | sed -e 's:^v::' -e 's:\([^-]*-g\):r\1:' -e 's:-:_:g'
}

build() {
  cd ${_gitname}

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

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