From 7e67cfd42b5e333fe2bb3086e2ad490129437176 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 13 Feb 2013 22:39:07 -0200 Subject: gnuhealth-1.8.0-1: updating version and dependencies --- pcr/gnuhealth/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 pcr/gnuhealth/PKGBUILD (limited to 'pcr/gnuhealth') diff --git a/pcr/gnuhealth/PKGBUILD b/pcr/gnuhealth/PKGBUILD new file mode 100644 index 000000000..10d059d4a --- /dev/null +++ b/pcr/gnuhealth/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: SpepS +# Maintainer (Parabola): André Silva + +pkgname=gnuhealth +pkgver=1.6.2 +pkgrel=1 +pkgdesc="A free Health and Hospital Information System" +arch=(any) +url="http://health.gnu.org/" +license=('GPL3') +depends=('trytond') +source=("http://ftp.gnu.org/gnu/health/$pkgname-$pkgver.tar.gz") +md5sums=('f36bb82a7a142c99da0218d9a889344c') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # python2 fixes + export PYTHON=python2 + sed -i '/TRYTON_PATH/s/python/&2/' configure + + # makefile fixes + sed -e '/install:/a\\tinstall -d $(DESTDIR)$(tryton_modules)/' \ + -e 's/$(tryton/$(DESTDIR)&/' -i Makefile.in + + # mv man file + mv health/man . + + ./configure --prefix=/usr +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make MANTARGET="$pkgdir/usr/share/man/man1" \ + DESTDIR="$pkgdir/" install + + # man + install -Dm644 man/$pkgname.1 \ + "$pkgdir/usr/share/man/man1/$pkgname.1" + + # python2 fix + sed -i 's/env python/&2/' \ + `grep -rl 'env python' "$pkgdir"` +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3 From 8d0f52f75dbef150f9d99547688120a1e92e9a8e Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 13 Feb 2013 23:52:15 -0200 Subject: gnuhealth-1.8.0-1: updating version --- pcr/gnuhealth/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pcr/gnuhealth') diff --git a/pcr/gnuhealth/PKGBUILD b/pcr/gnuhealth/PKGBUILD index 10d059d4a..ee75b2ee9 100644 --- a/pcr/gnuhealth/PKGBUILD +++ b/pcr/gnuhealth/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer (Parabola): André Silva pkgname=gnuhealth -pkgver=1.6.2 +pkgver=1.8.0 pkgrel=1 pkgdesc="A free Health and Hospital Information System" arch=(any) @@ -10,7 +10,7 @@ url="http://health.gnu.org/" license=('GPL3') depends=('trytond') source=("http://ftp.gnu.org/gnu/health/$pkgname-$pkgver.tar.gz") -md5sums=('f36bb82a7a142c99da0218d9a889344c') +md5sums=('2273870ccd77a24ac21b398d095a29b5') build() { cd "$srcdir/$pkgname-$pkgver" -- cgit v1.2.3 From 9e33e61c00e3da5565b47e16b6618ab98c9ea38f Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 14 Feb 2013 00:26:09 -0200 Subject: gnuhealth-1.8.0-1: fixing some things on PKGBUILD --- pcr/gnuhealth/PKGBUILD | 5 ----- 1 file changed, 5 deletions(-) (limited to 'pcr/gnuhealth') diff --git a/pcr/gnuhealth/PKGBUILD b/pcr/gnuhealth/PKGBUILD index ee75b2ee9..c7db21793 100644 --- a/pcr/gnuhealth/PKGBUILD +++ b/pcr/gnuhealth/PKGBUILD @@ -17,11 +17,6 @@ build() { # python2 fixes export PYTHON=python2 - sed -i '/TRYTON_PATH/s/python/&2/' configure - - # makefile fixes - sed -e '/install:/a\\tinstall -d $(DESTDIR)$(tryton_modules)/' \ - -e 's/$(tryton/$(DESTDIR)&/' -i Makefile.in # mv man file mv health/man . -- cgit v1.2.3