summaryrefslogtreecommitdiff
path: root/community/sqlheavy/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/sqlheavy/PKGBUILD')
-rwxr-xr-xcommunity/sqlheavy/PKGBUILD27
1 files changed, 13 insertions, 14 deletions
diff --git a/community/sqlheavy/PKGBUILD b/community/sqlheavy/PKGBUILD
index fc6a0a3f1..7a571f3ec 100755
--- a/community/sqlheavy/PKGBUILD
+++ b/community/sqlheavy/PKGBUILD
@@ -1,38 +1,37 @@
-# $Id: PKGBUILD 96517 2013-08-30 22:52:46Z alucryd $
+# $Id: PKGBUILD 99102 2013-10-24 12:51:25Z alucryd $
# Maintainer: Maxime Gauduin <alucryd at gmail dot com>
# Contributor : sebikul <sebikul@gmail.com>
pkgname=sqlheavy
-pkgver=0.1.1
-pkgrel=7
+pkgver=0.2.0.7ae6112
+pkgrel=1
pkgdesc="GObject SQLite wrapper"
arch=('i686' 'x86_64' 'mips64el')
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')
+makedepends=('git' 'gobject-introspection' 'vala')
+source=('git://gitorious.org/sqlheavy/sqlheavy.git')
+sha256sums=('SKIP')
-prepare() {
- cd ${pkgname}-${pkgver}
+pkgver() {
+ cd ${pkgname}
- sed 's/libvala-0.16/libvala-0.20/' -i configure
- sed '/examples/d; /utils/d' -i Makefile.in
+ printf "0.2.0.%s" "$(git rev-parse --short HEAD)"
}
build() {
- cd ${pkgname}-${pkgver}
+ cd ${pkgname}
- ./configure --prefix='/usr' --disable-static
+ ./autogen.sh --prefix='/usr' --disable-static
make
}
package() {
- cd ${pkgname}-${pkgver}
+ cd ${pkgname}
make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/usr/share/man
}
# vim: ts=2 sw=2 et: