summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9ce6d64c69d654505ac78f15cf2df230999e4a26 (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
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Maintainer: Alexandria Pettit <alxpettit@gmail.com>
# Contributor: Jorge Israel Peña <jorge.israel.p@gmail.com>
# Contributor: mrAppleXZ <mr.applexz@gmail.com>

pkgname=syncplay
pkgver=1.6.9
pkgrel=3
pkgdesc='Synchronize watching movies on mplayer2, vlc, mpv, and mpc-hc across many computers'
arch=(any)
url=http://syncplay.pl
license=(Apache)
depends=(python
         python-twisted)
optdepends=('pyside2: GUI'
            'python-service-identity: TLS'
            'python-certifi: TLS')
backup=("etc/$pkgname/server.conf")
_archive="$pkgname-$pkgver"
source=("$_archive.tar.gz::https://github.com/Syncplay/$pkgname/archive/v$pkgver.tar.gz"
        "$pkgname@.service"
        server.conf)
sha256sums=('b4acaf009b816dcb3261d9b327aace9005494f0977944b65e3623d50eb465972'
            'bbbf8f9dfc36631b49ba7d0fe3f980066b30a544954680a677e5e8629b7e0a8b'
            'df3c7656024d60c59664c79f4890f7780a2c5b8b537ac61b017e16b3d4420808')

package() {
	install -Dm0644 -t "$pkgdir/usr/lib/systemd/system/" "$pkgname@.service"
	install -Dm0644 -t "$pkgdir/etc/$pkgname/" server.conf
	cd "$_archive"
	make PREFIX=/usr DESTDIR="$pkgdir" install
}