blob: 5f9c97bcff862db23a3d72eb0c572562b0d552df (
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
|
# Maintainer: Stefan Auditor <stefan.auditor@erdfisch.de>
# Please report issues at https://github.com/sanduhrs/arch-aur-baikal-git
_pkgname=baikal
pkgname=${_pkgname}-git
pkgver=r897.31e7d54
pkgrel=1
pkgdesc="Baïkal is a Calendar+Contacts server"
url="https://sabre.io/baikal/"
arch=('any')
license=('GPL')
depends=('php')
makedepends=('git' 'composer')
optdepends=('sqlite: Database' 'mariadb: Alternate database' 'php-sqlite: To use the sqlite backend')
source=("${_pkgname}"::"git+https://github.com/fruux/Baikal.git")
sha512sums=('SKIP')
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "${srcdir}/${_pkgname}"
sed -i '/zip -r baikal/d' Makefile
make
}
package() {
cd "${srcdir}/${_pkgname}"
install -d "${pkgdir}/usr/share/webapps/${_pkgname}"
cp -dr --no-preserve=ownership "build/${_pkgname}" "${pkgdir}/usr/share/webapps/"
}
|