diff options
author | Philip Wellnitz | 2018-05-12 14:12:22 +0200 |
---|---|---|
committer | Philip Wellnitz | 2018-05-12 14:12:22 +0200 |
commit | 0eb4711b5e5c8764019e70595235453cfc8a5d63 (patch) | |
tree | d9a436066b872713df5b1c6f24978b8f44f745fd /PKGBUILD | |
parent | 47fb321d5a1eaf4610087aaad1e9c37ede15b371 (diff) | |
download | aur-0eb4711b5e5c8764019e70595235453cfc8a5d63.tar.gz |
fix bugs
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -1,6 +1,6 @@ pkgname=cms-germany-git pkgver=r3802.4d519c16 -pkgrel=3 +pkgrel=4 pkgdesc="CMS, or Contest Management System, is a distributed system for running and (to some extent) organizing a programming contest. This is a fork used for the German IOI team selection process." arch=('i686' 'x86_64') url="https://github.com/ioi-germany/cms" @@ -96,7 +96,22 @@ package() { install -D -m660 config/cms.conf.sample $pkgdir/usr/lib/cms/cms.conf install -D -m660 config/cms.ranking.conf.sample $pkgdir/usr/lib/cms/cms.ranking.conf + # I'm not even sure if this is needed at all + install -d -m770 $pkgdir/var/lib/cms + + # Fix testlib.h path (maybe patch CMS for this?) + install -d -m755 $pkgdir/usr/include/cms + ln -s /usr/include/testlib.h $pkgdir/usr/include/cms/testlib.h + python2 prerequisites.py build_l10n --as-root python2 setup.py install --root="$pkgdir" --optimize=1 + install -d $pkgdir/var/local/log + install -d $pkgdir/var/local/cache + install -d $pkgdir/var/local/lib + install -d $pkgdir/var/local/run + ln -s /var/log/cms $pkgdir/var/local/log/cms + ln -s /var/cache/cms $pkgdir/var/local/cache/cms + ln -s /var/lib/cms $pkgdir/var/local/lib/cms + ln -s /var/run/cms $pkgdir/var/local/run/cms } |