2020-06-02 18:16:54 +02:00
|
|
|
# Maintainer: Martchus <martchus@gmx.net>
|
|
|
|
# Contributor: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
|
2018-04-04 12:33:04 +02:00
|
|
|
|
|
|
|
pkgname=baikal
|
2022-03-26 14:10:02 +01:00
|
|
|
pkgver=0.9.2
|
2020-06-02 18:16:54 +02:00
|
|
|
pkgrel=1
|
2019-08-27 11:27:39 +02:00
|
|
|
pkgdesc='Lightweight CalDAV+CardDAV server'
|
|
|
|
url='http://sabre.io/baikal/'
|
2018-04-04 12:33:04 +02:00
|
|
|
arch=('any')
|
|
|
|
license=('GPL')
|
|
|
|
depends=('php')
|
|
|
|
optdepends=('sqlite: Database' 'mariadb: Alternate database' 'php-sqlite: To use the sqlite backend')
|
|
|
|
source=("https://github.com/fruux/Baikal/releases/download/$pkgver/baikal-$pkgver.zip"
|
2020-06-02 18:16:54 +02:00
|
|
|
'baikal.install')
|
2022-03-26 14:10:02 +01:00
|
|
|
sha1sums=('67b8c10e7d6d2ae6d331896c3f76314fe6ed33dd'
|
2020-06-02 18:16:54 +02:00
|
|
|
'deb948e61c3cd8d6ad560321f78c0b288f7a6210')
|
2018-04-04 12:33:04 +02:00
|
|
|
options=('!strip')
|
|
|
|
install=baikal.install
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/baikal"
|
2019-09-30 14:08:55 +02:00
|
|
|
|
2018-04-04 12:33:04 +02:00
|
|
|
install -dm 755 "$pkgdir"/usr/share/{webapps,doc}"/$pkgname"
|
2019-08-27 11:27:12 +02:00
|
|
|
install -dm 700 -o http -g http "$pkgdir/var/lib/$pkgname"
|
2020-06-02 18:16:54 +02:00
|
|
|
install -dm 700 -o http -g http "$pkgdir/var/lib/$pkgname/config"
|
2018-04-04 12:33:04 +02:00
|
|
|
cp -R Core html vendor "$pkgdir/usr/share/webapps/$pkgname"
|
2021-01-26 22:34:43 +01:00
|
|
|
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname"
|
2018-04-04 12:33:04 +02:00
|
|
|
ln -s "/var/lib/$pkgname" "$pkgdir/usr/share/webapps/$pkgname/Specific"
|
2020-06-02 18:16:54 +02:00
|
|
|
ln -s "/var/lib/$pkgname/config" "$pkgdir/usr/share/webapps/$pkgname/config"
|
2018-04-04 12:33:04 +02:00
|
|
|
}
|