summaryrefslogtreecommitdiff
path: root/community/sqlheavy/PKGBUILD
blob: 37902a562c2d1936fd8b08ec2a6fc11a662fe97d (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
38
# $Id: PKGBUILD 96517 2013-08-30 22:52:46Z alucryd $
# Maintainer: Maxime Gauduin <alucryd at gmail dot com>
# Contributor : sebikul <sebikul@gmail.com>

pkgname=sqlheavy
pkgver=0.1.1
pkgrel=7
pkgdesc="GObject SQLite wrapper"
arch=('i686' 'x86_64')
url="https://code.google.com/p/sqlheavy/"
license=('LGPL')
depends=('gtk2' 'sqlite3')
makedepends=('gobject-introspection' 'vala')
options=('!libtool')
source=("https://sqlheavy.googlecode.com/files/${pkgname}-${pkgver}.tar.xz")
sha256sums=('e8689f5fd4e0baf98eada2b3811262bb99877c2e8586fd21ad2a7ad3acc59031')

prepare() {
  cd ${pkgname}-${pkgver}

  sed 's/libvala-0.16/libvala-0.20/' -i configure
  sed '/examples/d; /utils/d' -i Makefile.in
}

build() {
  cd ${pkgname}-${pkgver}

  ./configure --prefix='/usr' --disable-static
  make
}

package() {
  cd ${pkgname}-${pkgver}

  make DESTDIR="${pkgdir}" install
}

# vim: ts=2 sw=2 et: