blob: 11a8ddb93750bd30e8c6b7c39ad53ab9dd9ed9d0 (
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
|
# Maintainer: Thorben Günther <echo YWRtaW5AeGVucm94Lm5ldAo= | base64 -d>
# Contributor: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
# Contributor: Maxime "pep" Buquet <archlinux@bouah.net>
pkgname=conversejs
pkgver=10.1.2
pkgrel=1
pkgdesc='Web-based XMPP/Jabber chat client written in JavaScript'
arch=('any')
url="https://conversejs.org/"
license=('custom:MPL2')
depends=("nodejs-lts-fermium")
makedepends=('npm' 'python')
backup=('usr/share/webapps/converse.js/fullscreen.html')
source=("$pkgname-$pkgver.tar.gz::https://github.com/conversejs/converse.js/archive/v$pkgver.tar.gz")
sha256sums=('27731aa184c1cf1776c1e97c93ddce3b9fec68723c6fb0a312cb2fcb590ca8c4')
build() {
cd "converse.js-$pkgver"
rm -rf dist
make dist
}
package() {
cd "converse.js-$pkgver"
install -dm755 "$pkgdir"/usr/share/webapps/converse.js/
cp -r dist "$pkgdir"/usr/share/webapps/converse.js/
cp -r sounds "$pkgdir"/usr/share/webapps/converse.js/
cp -r images/favicon.ico "$pkgdir"/usr/share/webapps/converse.js/dist/
install -Dm644 fullscreen.html "$pkgdir"/usr/share/webapps/converse.js/
}
|