diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-07 00:46:34 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-07 00:46:34 -0400 |
commit | 619b8d955269f2fe74386e98fac07675c8b55352 (patch) | |
tree | f3e2610a39c99a7e43bc2b345280b04e398b986a /social/gnuhealth/PKGBUILD | |
parent | 2b04539ac9310541a4e563460aed0cb7715770d2 (diff) | |
parent | 7d4e98b2d6f2fd4d42ebb55105bab8a05e34ab94 (diff) | |
download | abslibre-619b8d955269f2fe74386e98fac07675c8b55352.tar.gz abslibre-619b8d955269f2fe74386e98fac07675c8b55352.tar.bz2 abslibre-619b8d955269f2fe74386e98fac07675c8b55352.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'social/gnuhealth/PKGBUILD')
-rw-r--r-- | social/gnuhealth/PKGBUILD | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/social/gnuhealth/PKGBUILD b/social/gnuhealth/PKGBUILD deleted file mode 100644 index 10d059d4a..000000000 --- a/social/gnuhealth/PKGBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Maintainer: SpepS <dreamspepser at yahoo dot it> -# Maintainer (Parabola): André Silva <emulatorman@lavabit.com> - -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: |