[arch-commits] Commit in billreminder/trunk (PKGBUILD)
Balló György
bgyorgy at nymeria.archlinux.org
Sat Jan 11 10:18:25 UTC 2014
Date: Saturday, January 11, 2014 @ 11:18:25
Author: bgyorgy
Revision: 103746
upgpkg: billreminder 0.4.0-6
Remove unneeded python2-pysqlite dependency
Modified:
billreminder/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-01-11 10:18:19 UTC (rev 103745)
+++ PKGBUILD 2014-01-11 10:18:25 UTC (rev 103746)
@@ -6,12 +6,12 @@
pkgname=billreminder
pkgver=0.4.0
-pkgrel=5
+pkgrel=6
pkgdesc="Small and quick accounting application designed to allow for easy tracking of bills"
arch=('any')
url="http://billreminder.gnulinuxbrasil.org/"
license=('GPL3')
-depends=('python2-pysqlite' 'python2-dbus' 'desktop-file-utils' 'pygtk' 'python2-xdg'
+depends=('python2-dbus' 'desktop-file-utils' 'pygtk' 'python2-xdg'
'xdg-utils' 'python2-gconf' 'python2-sqlalchemy' 'hicolor-icon-theme')
makedepends=('intltool')
install=$pkgname.install
@@ -18,7 +18,7 @@
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('6a89584a1c90f661a7954a0c5c8bd392b8e2712d6cfd759fb6e588548ac8ff4e')
-build() {
+prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
# python2 fix
@@ -26,9 +26,17 @@
sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
done
+ # fix python version check
+ sed -i 's/"x$PYTHON_VERSION" = "x2.5"/"x$PYTHON_VERSION" > "x2.4"/' configure
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
./configure \
--prefix=/usr \
--sysconfdir=/etc \
+ --disable-schemas-install \
--with-gconf-schema-file-dir=/usr/share/gconf/schemas
make
More information about the arch-commits
mailing list