[arch-commits] Commit in sqlheavy/trunk (PKGBUILD)

Maxime Gauduin alucryd at nymeria.archlinux.org
Thu Oct 24 12:51:10 UTC 2013


    Date: Thursday, October 24, 2013 @ 14:51:09
  Author: alucryd
Revision: 99101

upgpkg: sqlheavy 0.2.0.7ae6112-1

Modified:
  sqlheavy/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-10-24 12:47:03 UTC (rev 99100)
+++ PKGBUILD	2013-10-24 12:51:09 UTC (rev 99101)
@@ -3,36 +3,35 @@
 # Contributor : sebikul <sebikul at 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')
 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:




More information about the arch-commits mailing list