blob: 0cf52db06efcb03dec78ccbe760de893f1817493 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# Maintainer (Arch): mawcomw <mawcomw@gmail.com>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=redmine
pkgver=3.1.1
pkgrel=1
pkgdesc="A flexible project management web application. Written using the Ruby on Rails, it is cross-platform and cross-database."
arch=('any')
url="http://www.redmine.org"
license=('GPL2')
#makedepends=('glibc' 'dialog')
#checkdepends=()
#depends=('ruby')
optdepends=('ruby: a dynamic, interpreted, open source programming language'
'rvm: a command line tool to easily manage multiple Ruby environments'
'rbenv: another command line tool to easily manage multiple Ruby environments'
'apache: a supported application server'
'nginx: a supported application server'
'tomcat6: a supported application server'
'tomcat7: a supported application server'
'mariadb: MariaDB database support'
'mysql: MySQL database support'
'postgresql: PostgreSQL database support'
'git: Git repository browsing'
'subversion: Subversion repository browsing'
'darcs: Darcs repository browsing'
'bzr: Bazaar repository browsing'
'mercurial: Mercurial repository browsing'
'cvs: CVS repository browsing'
'imagemagick: Image export support for Gantt')
provides=('redmine')
#conflicts=()
#replaces=()
backup=('usr/share/webapps/redmine/config/configuration.yml'
'usr/share/webapps/redmine/config/database.yml')
#options=()
#install=redmine.install
#changelog
source=("http://www.redmine.org/releases/$pkgname-$pkgver.tar.gz")
#noextract
md5sums=('24fd22a238c0236542a5c0ef730fc2bf')
#sha1sums=()
#sha256sums=()
#sha384sums=()
#sha512sums=()
build() {
return 0
}
package() {
_redmine_installation_path="/usr/share/webapps/redmine"
cd "$srcdir/redmine-$pkgver"
# install in /usr/share/webapps
_instdir="$pkgdir/${_redmine_installation_path}"
mkdir -p ${_instdir}
cp -ra . ${_instdir}
# create required directories
mkdir -p "${_instdir}/public/plugin_assets"
#mkdir -p "${_instdir}/tmp/pdf"
#mkdir -p "${_instdir}/files"
#mkdir -p "${_instdir}/log"
# set the group that will run the http server to have write permission (for apache it should be http)
chmod -R g+w "${_instdir}/tmp"
chmod g+w "${_instdir}/files"
chmod g+w "${_instdir}/log"
# set the http server user:group that will run the application
#chgrp -R http ${_instdir}
# Create systemd service
#mkdir -p "$pkgdir/usr/lib/systemd/system/"
#install -m 644 "$srcdir/redmine.service" "$pkgdir/usr/lib/systemd/system/"
}
|