summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Bruhin2014-02-20 11:49:52 +0100
committerFlorian Bruhin2014-02-20 11:49:52 +0100
commitd8f245f34f04739db5a84cfd8919e3a10e4a1d47 (patch)
tree07c5bea0000be2d2ea11232fb7de32e4ffad88c2
downloadaur-d8f245f34f04739db5a84cfd8919e3a10e4a1d47.tar.gz
Add baikal
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD23
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..d4c59dcc7dbf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = baikal
+ pkgdesc = Lightweight CalDAV+CardDAV server
+ pkgver = 0.2.7
+ pkgrel = 1
+ url = http://baikal-server.com/
+ arch = any
+ license = GPL
+ depends = php
+ optdepends = sqlite: Database
+ optdepends = mariadb: Alternate database
+ options = !strip
+ source = http://baikal-server.com/get/baikal-regular-0.2.7.tgz
+ sha1sums = 01eabcf0229ddffc0542f4e2a349754e778abbea
+
+pkgname = baikal
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..83a7a26cc800
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
+
+pkgname=baikal
+pkgver=0.2.7
+pkgrel=1
+pkgdesc="Lightweight CalDAV+CardDAV server"
+url="http://baikal-server.com/"
+arch=('any')
+license=('GPL')
+depends=('php')
+optdepends=('sqlite: Database' 'mariadb: Alternate database')
+source=("http://baikal-server.com/get/baikal-regular-${pkgver}.tgz")
+sha1sums=('01eabcf0229ddffc0542f4e2a349754e778abbea')
+options=('!strip')
+
+package() {
+ cd "${srcdir}/baikal-regular"
+ mkdir -p "$pkgdir/usr/share/webapps/$pkgname"
+ cp -R * "$pkgdir/usr/share/webapps/$pkgname"
+ chown -R http:http "$pkgdir/usr/share/webapps/$pkgname"
+}
+
+# vim:set ts=2 sw=2 et: