[arch-commits] Commit in billreminder/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 9 22:26:11 UTC 2018
Date: Friday, November 9, 2018 @ 22:26:09
Author: felixonmars
Revision: 404965
archrelease: copy trunk to community-staging-any
Added:
billreminder/repos/community-staging-any/
billreminder/repos/community-staging-any/PKGBUILD
(from rev 404964, billreminder/trunk/PKGBUILD)
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Copied: billreminder/repos/community-staging-any/PKGBUILD (from rev 404964, billreminder/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-11-09 22:26:09 UTC (rev 404965)
@@ -0,0 +1,47 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinus.org>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=billreminder
+pkgver=0.4.0
+pkgrel=8
+pkgdesc="Small and quick accounting application designed to allow for easy tracking of bills"
+arch=('any')
+url="http://ftp.acc.umu.se/pub/GNOME/sources/billreminder/"
+license=('GPL3')
+depends=('python2-dbus' 'desktop-file-utils' 'pygtk' 'python2-xdg'
+ 'xdg-utils' 'python2-gconf' 'python2-sqlalchemy' 'hicolor-icon-theme')
+makedepends=('intltool')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('6a89584a1c90f661a7954a0c5c8bd392b8e2712d6cfd759fb6e588548ac8ff4e')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # python2 fix
+ for file in billreminder.in billreminderd.in src/gui/widgets/*.py ; do
+ 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
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list