summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 238df27ff865bf69d5b792e80edc57b217926b49 (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
36
37
#Maintainer: Frederic Bezies <fredbezies at gmail dot com> 
#Contributor: Maƫl Leclair <mael.leclair@gmail.com>
pkgname=grisbi-git
_pkgname=grisbi
pkgver=1.9.90.r228.g7bcdcf50a
pkgrel=1
pkgdesc="Personal financial management program"
arch=('any')
url="http://www.grisbi.org"
license=('GPL')
depends=('gtk3' 'libgsf')
optdepends=('libofx: for OFX support')
makedepends=('git' 'intltool')
provides=('grisbi')
conflicts=('grisbi')
replaces=('grisbi')
source=(git://github.com/grisbi/grisbi.git)
sha256sums=('SKIP')

pkgver() {
  cd "$_pkgname"
  git describe --long --tags | sed 's/upstream_version_//;s/\([^-]*-g\)/r\1/;s/-/./g;s/_/./g'
}


build() {
  
  cd "$_pkgname"
  ./autogen.sh
  ./configure --prefix=/usr
  make
}

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