diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2017-01-23 17:29:36 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2017-01-23 17:57:47 -0300 |
commit | 5aec64378882d980975ad6e931ad3b1a967809ea (patch) | |
tree | 356ec9dd9fa2d7420d44a5ce60d7bde51b5831f5 /pcr/gnuhealth | |
parent | 53562e97e4b73c9c02880ca919333e0b68c45024 (diff) | |
download | abslibre-5aec64378882d980975ad6e931ad3b1a967809ea.tar.gz abslibre-5aec64378882d980975ad6e931ad3b1a967809ea.tar.bz2 abslibre-5aec64378882d980975ad6e931ad3b1a967809ea.zip |
gnuhealth: minor fix
Diffstat (limited to 'pcr/gnuhealth')
-rw-r--r-- | pcr/gnuhealth/PKGBUILD | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pcr/gnuhealth/PKGBUILD b/pcr/gnuhealth/PKGBUILD index 77534d126..871e849e9 100644 --- a/pcr/gnuhealth/PKGBUILD +++ b/pcr/gnuhealth/PKGBUILD @@ -19,22 +19,22 @@ sha512sums=(cc7d96b30f0f8667040cf0230686b3fb86799f77655383152f2fb698ea0d969555c5 validpgpkeys=(14C7FD1362749706D602FBE2EADA01E3E44B8011) # Luis Falcon (meanmicio at GNU) <falcon@gnu.org> prepare() { + cd $srcdir/$pkgname-$pkgver + # fix python2 problem sed -i 's|/usr/bin/env python|/usr/bin/env python2|' $(grep -rlI '/usr/bin/env python') } package() { - cd "$srcdir/$pkgname-$pkgver" - # build gnuhealth modules - for module in $(ls -1 | grep '^health*') - do - cd "$srcdir/$pkgname-$pkgver/$module" - python2 setup.py install --root=$pkgdir - done + cd $srcdir/$pkgname-$pkgver # put gnuhealth manual to man folder - cd "$srcdir/$pkgname-$pkgver" - install -Dm644 health/man/$pkgname.1 \ $pkgdir/usr/share/man/man1/$pkgname.1 + + # build gnuhealth modules + for module in $(ls -1 | grep '^health*'); do + cd $srcdir/$pkgname-$pkgver/$module + python2 setup.py install --root=$pkgdir + done } |