This repository has been archived on 2024-05-06. You can view files and clone it, but cannot push or open issues or pull requests.
package/webapp/PKGBUILD
Tobias Reisinger 58d94cc3a3 Upgrade core-testing to v0.4.0
Add the new config files and add a drop-in config for the webapp.
2020-11-19 19:46:55 +01:00

23 lines
823 B
Bash

# Maintainer: Tobias Reisinger <tobias@msrg.cc>
pkgname=emgauwa-webapp
pkgver=0.0.9
pkgrel=2
epoch=
pkgdesc=""
arch=('any')
url="https://git.serguzim.me/emgauwa/client"
license=('unknown')
groups=()
source=("$pkgname-$pkgver.tar.gz::https://git.serguzim.me/emgauwa/client/releases/download/v$pkgver/emgauwa.tar.gz"
"webapp.conf")
sha256sums=('cbbda65e715b8104b1fd0f81c75fa320ecd4d770e5ee9cabe62244aece5785b6'
'1179e30b5fb9f8b2a5dc27989cfee8cca3b01dfa54f8af474cddced998fb91ff')
package() {
install -d "$pkgdir/usr/share/webapps/"
cp -R "$srcdir/emgauwa" "$pkgdir/usr/share/webapps/emgauwa"
install -dm750 "${pkgdir}/etc/emgauwa/"
install -dm750 "${pkgdir}/etc/emgauwa/core.conf.d"
install -Dm750 -o emgauwa -g emgauwa "webapp.conf" "${pkgdir}/etc/emgauwa/core.conf.d/webapp.conf"
}