# Contributor: Leah (ctucx) # Maintainer: Leah (ctucx) pkgname=schildichat-web pkgver=1.9.0 pkgrel=0 pkgdesc="SchildiChat is a Matrix client based on Element with a more traditional instant messaging experience." url="https://schildi.chat/" arch="noarch" options="!check" license="Apache-2.0" source="https://github.com/SchildiChat/schildichat-desktop/releases/download/v$pkgver-sc.1/schildichat-web-$pkgver-sc.1.tar.gz message.mp3 message.ogg" builddir="$srcdir/schildichat-web-$pkgver-sc.1" build() { return 0 } package() { mkdir -p "$pkgdir"/usr/share/webapps \ "$pkgdir"/etc/schildichat-web cp -r "$builddir" "$pkgdir"/usr/share/webapps/schildichat-web mv "$pkgdir"/usr/share/webapps/schildichat-web/config.sample.json \ "$pkgdir"/etc/schildichat-web ln -sf /etc/schildichat-web/config.json \ "$pkgdir"/usr/share/webapps/schildichat-web/config.json cp "${srcdir}/message.mp3" "$pkgdir"/usr/share/webapps/schildichat-web/media cp "${srcdir}/message.ogg" "$pkgdir"/usr/share/webapps/schildichat-web/media } sha512sums="f9569d1e8e3fd8712e1871abf5ce5e9f600a6482bb890e16201480150c735f5b9f6aa63b31f11fa2703ccb99693c178539b584962506d7d75736db71d4e8e106 schildichat-web-1.9.0-sc.1.tar.gz 5479e27fa9b283c14ddb13db6a485a729fcdaaac51f8056a8a9333b2e70d28fba2ae3386ec756885141848ecf1c0ee1eec5e15b5589b7ce1c70a7f78336db3a1 message.mp3 1f8f908b2c1c4c6b9c20dce1e92483d091fcf6f2fa9e7612792a56c7cb1084d2d24b08a2944632a9ec63e71b5cae1c77547a22b43ee67d87a70c5839e121ed56 message.ogg"