summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dab9721220cd79dafd89eeac96d91e212ab39ac9 (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
# Maintainer: fuan_k <rrkay@posteo.net>
# Contributor: libernux <dutchman55@gmx.com>
# Contributor: Jonny Gerold <jonny@fsk141.com>
# Contributor: Tetsumaki <http://goo.gl/YMBdA>

pkgname=flamerobin-git
pkgver=0.9.3.1
pkgrel=1
pkgdesc='A tool to handle Firebird database management'
arch=('i686' 'x86_64')
url="http://www.flamerobin.org/"
license=('expat')
depends=('wxgtk' 'libfbclient' 'boost')
makedepends=('git')
provides=('flamerobin')
conflicts=('flamerobin')
source=("$pkgname"::'git+https://github.com/mariuz/flamerobin.git')
md5sums=('SKIP')

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

build() {
  cd "$srcdir/$pkgname"

  ./configure --prefix=/usr --with-wx-config=/usr/bin/wx-config

  make
}

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