diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/gnuhealth/PKGBUILD | 84 | ||||
-rw-r--r-- | pcr/python2-qrcode/PKGBUILD | 21 |
2 files changed, 0 insertions, 105 deletions
diff --git a/pcr/gnuhealth/PKGBUILD b/pcr/gnuhealth/PKGBUILD deleted file mode 100644 index cc23c41d3..000000000 --- a/pcr/gnuhealth/PKGBUILD +++ /dev/null @@ -1,84 +0,0 @@ -# Maintainer: André Silva <emulatorman@parabola.nu> -# Contributor: SpepS <dreamspepser at yahoo dot it> -# Contributor: Ander <anderraso@gmail.com> - -pkgname=gnuhealth -pkgver=2.4.1 -pkgrel=1 -pkgdesc="A free Health and Hospital Information System" -arch=any -url=http://health.gnu.org/ -license=GPL3 -depends=( - postgresql - pygtk - python2-dateutil - python2-ldap - python2-pillow - python2-pip - python2-psycopg2 - python2-pytz - python2-pywebdav - python2-qrcode - python2-vobject - "trytond>=3.0" - "trytond-account-invoice>=3.0" - "trytond-calendar>=3.0" - "trytond-country>=3.0" - "trytond-stock-lot>=3.0" -) -source=http://ftp.gnu.org/gnu/health/$pkgname-$pkgver.tar.gz -sha512sums=8a2421a20711f1c8af67211f9ffad56cbd96d527ff9f748d471f0b3488aea3efb7bffb3dbec541967035f751fb07d3b6662c077c430aab3466a929ef6856f22b - -prepare() { - # fix problem with python2 - sed -i 's|/usr/bin/env python|/usr/bin/env python2|' $(grep -rlI '/usr/bin/env python') -} - -package() { - MODULES=( - health - health_calendar - health_genetics - health_gyneco - health_history - health_icd10 - health_icd10pcs - health_icpm - health_icu - health_imaging - health_inpatient - health_inpatient_calendar - health_lab - health_lifestyle - health_mdg6 - health_ntd - health_ntd_chagas - health_ntd_dengue - health_nursing - health_pediatrics - health_pediatrics_growth_charts - health_pediatrics_growth_charts_who - health_profile - health_qrcodes - health_reporting - health_services - health_socioeconomics - health_stock - health_surgery - health_who_essential_medicines - ) - - # build gnuhealth modules - for module in ${MODULES[@]} - do - cd $srcdir/$pkgname-$pkgver/$module - python2 setup.py install --root=$pkgdir - done - - # put gnuhealth manual to man folder - cd "$srcdir/$pkgname-$pkgver" - - install -Dm644 health/man/$pkgname.1 \ - $pkgdir/usr/share/man/man1/$pkgname.1 -} diff --git a/pcr/python2-qrcode/PKGBUILD b/pcr/python2-qrcode/PKGBUILD deleted file mode 100644 index a385056ba..000000000 --- a/pcr/python2-qrcode/PKGBUILD +++ /dev/null @@ -1,21 +0,0 @@ -# Contributor: Francois Boulogne <fboulogne at april dot org> -# Maintainer: Francois Boulogne <fboulogne at april dot org> - -pkgname=python2-qrcode -pkgver=4.0.4 -pkgrel=2 -pkgdesc="Python library to generate QR codes" -arch=('any') -url="https://github.com/lincolnloop/python-qrcode" -license=('BSD') -depends=('python2-imaging' 'python2' 'python2-six') -makedepends=('python2-setuptools') -source=(http://pypi.python.org/packages/source/q/qrcode/qrcode-${pkgver}.tar.gz) -md5sums=('c1dd31ed47a90498db645b61e0adfe5a') - -package() { - cd "$srcdir/qrcode-$pkgver" - python2 setup.py install --root="${pkgdir}" --optimize=1 -} - -# vim:ts=2:sw=2:et: |