diff options
author | William Di Luigi | 2016-04-20 23:21:41 +0200 |
---|---|---|
committer | William Di Luigi | 2016-04-20 23:21:41 +0200 |
commit | 68938c2ef222f74dbcd7637eb482656c0a53a3ef (patch) | |
tree | 422953b7ff6d3b015def2a3fcb8d5dd539275940 /PKGBUILD | |
parent | ace35e07ab5b85e0102ade8257dbc1d2a38be81b (diff) | |
download | aur-68938c2ef222f74dbcd7637eb482656c0a53a3ef.tar.gz |
Update package
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 5 insertions, 12 deletions
@@ -4,14 +4,14 @@ CMSUSER_GID=26950 pkgname=cms-git -pkgver=r3177.5993662 +pkgver=r3327.d453771 pkgrel=1 pkgdesc="CMS, or Contest Management System, is a distributed system for running and (to some extent) organizing a programming contest." arch=('any') url="http://cms-dev.github.io/" license=('AGPL3') depends=( - 'isolate' 'testlib' 'postgresql' 'postgresql-libs' 'python2' 'iso-codes' 'shared-mime-info' + 'isolate' 'testlib' 'postgresql' 'postgresql-libs' 'libyaml' 'libcups' 'python2' 'iso-codes' 'shared-mime-info' ) optdepends=( 'fpc: support for Pascal submissions' @@ -68,18 +68,11 @@ package() { # This will hopefully go away with https://github.com/cms-dev/cms/issues/281 install -d $pkgdir/usr/bin - for cmd in \ - cmsContestWebServer cmsResourceService cmsScoringService cmsDropDB \ - cmsPrintingService cmsInitDB cmsAdminWebServer cmsWorker cmsChecker \ - cmsEvaluationService cmsProxyService cmsRankingWebServer cmsLogService \ - cmsSpoolExporter cmsTestFileCacher cmsAdaptContest cmsAddTask cmsMake \ - cmsYamlImporter cmsRunTests cmsRWSHelper cmsRemoveTask cmsAddUser \ - cmsContestExporter cmsDumpUpdater cmsDumpExporter cmsYamlReimporter \ - cmsContestImporter cmsAddContest cmsComputeComplexity cmsRemoveUser \ - cmsDumpImporter cmsReplayContest + for fullcmd in $pkgdir/usr/lib/cms/venv/bin/cms* do + cmd=$(basename $fullcmd) # Fix the shebang - sed -i "s|$pkgdir/usr/lib/cms/venv|/usr/lib/cms/venv|" $pkgdir/usr/lib/cms/venv/bin/$cmd + sed -i "s|$pkgdir/usr/lib/cms/venv|/usr/lib/cms/venv|" $fullcmd # Create link ln -s /usr/lib/cms/venv/bin/$cmd $pkgdir/usr/bin/$cmd |