summaryrefslogtreecommitdiff
path: root/community/sqlheavy/PKGBUILD
blob: 5803ede93210a4b787fcb7c04b89a0443b1ba3c7 (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
39
40
# $Id: PKGBUILD 89815 2013-05-02 15:11:19Z alucryd $
# Maintainer: Maxime Gauduin <alucryd at gmail dot com>
# Contributor : sebikul <sebikul@gmail.com>

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

prepare() {
  cd "${srcdir}"/${pkgname}-${pkgver}

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

build() {
  cd "${srcdir}"/${pkgname}-${pkgver}

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

package() {
  cd "${srcdir}"/${pkgname}-${pkgver}

  make DESTDIR="${pkgdir}" install
}

# vim: ts=2 sw=2 et: