summaryrefslogtreecommitdiff
path: root/pcr/chiliproject/PKGBUILD
blob: 976316dc4cb45e24e8ad8b6db54fe168c9203f8e (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
# Maintainer: Márcio Silva <coadde@lavabit.com>

pkgname=chiliproject
pkgver=3.3.0
pkgrel=1
pkgdesc="Chiliproject is a fork of Redmine, a flexible project management web application written using Ruby on Rails."
arch=('any')
url="https://www.chiliproject.org"
license=('GPL2')
depends=('ruby' 'ruby-bundler' 'mysql' 'libxml2' 'libxslt' 'imagemagick' 'pkg-config')
provides=('chiliproject')
backup=('var/lib/chiliproject/config/database.yml'
       'var/lib/chiliproject/config/configuration.yml')
makedepends=('glibc')
optdepends=('git: Git repository browsing'
            'subversion>=1.3.0: Subversion repository browsing'
            'darcs: Darcs repository browsing'
            'bzr: Bazaar repository browsing'
            'mercurial: Mercurial repository browsing')
options=()
install=chiliproject.install
source=("https://www.chiliproject.org/attachments/download/360/chiliproject-$pkgver.tar.gz")
md5sums=('4fa4a825cf0cd91d7495180a19bc4c11')

build() {
	return 0
}

package() {
	cd "$srcdir/chiliproject-$pkgver"

	# install in /var/lib
	_instdir="$pkgdir/var/lib/chiliproject"
	mkdir -p ${_instdir}
	cp -ra . ${_instdir}

	# create required directories
	mkdir -p "${_instdir}/public/plugin_assets"
}

# vim:set ts=4 sw=4 et: