summaryrefslogtreecommitdiff
path: root/pcr/chiliproject/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/chiliproject/PKGBUILD')
-rw-r--r--pcr/chiliproject/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/pcr/chiliproject/PKGBUILD b/pcr/chiliproject/PKGBUILD
new file mode 100644
index 000000000..4f933934a
--- /dev/null
+++ b/pcr/chiliproject/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer (Parabola): 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: