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

23 lines
801 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 "webapp.conf" "${pkgdir}/etc/emgauwa/core.conf.d/webapp.conf"
}