blob: 294bef573381a671bf1df1fc812f0aeddd3c8f03 (
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
34
35
36
37
38
39
40
41
|
# Maintainer: Jah Way <jahway603 at protonmail dot com>
pkgname=owncast-bin
_pkg=owncast
pkgver=0.1.3
pkgrel=1
pkgdesc="Take control over your live stream video by running it yourself. Streaming + chat out of the box."
url="https://github.com/owncast/owncast"
arch=('x86_64')
license=('MIT')
provides=('owncast')
conflicts=('owncast' 'owncast-git')
source=("$url/releases/download/v$pkgver/$_pkg-$pkgver-linux-64bit.zip"
"https://raw.githubusercontent.com/$_pkg/$_pkg/develop/LICENSE"
"apache.conf"
"nginx.conf"
"owncast.service"
"sysusers.conf"
"tmpfiles.conf")
sha512sums=('b308daadb992d438b276d4d9f07277f1e2c24b2d6950584ab7e6f16011b642541f2dadbc0969469eae5b8f184b764114f64786d8aa0fe2020c09d7e49110eb92'
'a441ac7cd374231ec2db7013046774e23132c80b438c2e929c6bf7fb7b7fe441052a29f16733ca47326135e51a1c2e7979f62e0912803363e97a7b1c0fecdb0d'
'd0b33a529584f0d9a8c86039318aa3cc961eead6ce84c1066c97c0b263efec99f60d5a6f8662833db59a242a3ec4b8b1c3f6155ddd9cfdb16e599b355a8fa44b'
'e243a7d6bd1d8f369d2f7044348acdb3f8547eff6794fe6ff9e3433489993a9895359e572f18f3780d3d28d443842c11c7cafa2afbb8ae4ef2e5b48869bf93c6'
'145761756acacd7f988e56b7a855988fb1270d3dbd8ead7bb23fe87a04a22b5319db301974632126d967801ba7ae5a60e123839d50821a273701de0568bd2c4f'
'f756b7d92e96cf2ce21abe259aeaf7f3877297a0734f3f62fde12c62e8a85649e8af4ec5c927a6ea3f76e2cdfb46b7ae96559b42b08061db4a9a570f23aaa03f'
'384fe460576c09e38cfa739b266576ba6af859e8fb638fe8a97cbf7f84c1afb77dbdcf4e29760333e658fe09e8322bca28924cc7762331d72ee31ac486497428')
install=$_pkg.install
package() {
install -Dm755 $_pkg "$pkgdir/opt/$_pkg/$_pkg"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkg/LICENSE"
install -Dm644 "$srcdir/owncast.service" "$pkgdir/usr/lib/systemd/system/owncast.service"
install -Dm644 "$srcdir/apache.conf" "$pkgdir/usr/share/$_pkg/example-apache.conf"
install -Dm644 "$srcdir/nginx.conf" "$pkgdir/usr/share/$_pkg/example-nginx.conf"
install -Dm644 "$srcdir/sysusers.conf" "$pkgdir/usr/lib/sysusers.d/owncast.conf"
install -Dm644 "$srcdir/tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/owncast.conf"
# create symlinks
install -d "${pkgdir}/usr/bin"
ln -s /opt/$_pkg/$_pkg "${pkgdir}/usr/bin"
}
|