blob: ba60d74b7cb62823bf4d1d08cc0ec81831f2dbab (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# Mantainer: Giusy Margarita <kurmikon at libero dot it>
# Contributor: Jonian Guveli <jonian at hardpixel dot eu>
# Contributor: Jan Magnus Brevik <janmbrevik at gmail dot com>
# Contributor: Rubén Fdes Moreira <tmp-meteque at openmailbox dot com>
# Contributor: Sigmund Vestergaard <sigmundv at gmail dot com>
# Contributor: MacCyber <jonas dot enge at gmail dot com>
# Contributor: Doug Newgard <scimmia22 at outlook dot com>
# Contributor: Jonas Heinrich <onny at project-insanity dot org>
# Contributor: Antti Hautaniemi <an7oine at me dot com>
_ubuntuver=16.04
pkgname=acestream-engine-stable
pkgver=3.1.16
pkgrel=3
pkgdesc="P2P utility for multimedia live streaming and file transfer (stable version)"
arch=("x86_64")
url="http://acestream.org/"
license=("custom")
depends=(
"net-tools"
"openssl-1.0"
"python2-apsw"
"python2-lxml"
"python2-setuptools"
"python2-typing"
"python2-xlib")
optdepends=("python2-libappindicator: GTK2 GUI")
provides=("acestream-engine")
conflicts=("acestream-engine")
backup=("usr/lib/acestream/acestream.conf")
install="acestream-engine.install"
source=(
"acestream-engine.service"
"$pkgname-$pkgver.tar.gz::http://dl.acestream.org/linux/acestream_${pkgver}_ubuntu_${_ubuntuver}_x86_64.tar.gz"
"python2-m2crypto-0.24.0.tar.xz::https://archive.archlinux.org/packages/p/python2-m2crypto/python2-m2crypto-0.24.0-4-x86_64.pkg.tar.xz"
"acestream-engine.desktop"
"LICENSE"
)
sha256sums=(
"9446e4c36c2e92b4253a1c3fea5fa30d366d46295dcd1f1cac4ddfe8f002fcbe"
"452bccb8ae8b5ff4497bbb796081dcf3fec2b699ba9ce704107556a3d6ad2ad7"
"177c22681be64a7533b3303652da8724aa20edcbead87be90765bc5040f4cff5"
"fad731aec3371b3e76065cf1668be6b61d33547d321c8cfb2b6018faa3d5b7b0"
"SKIP"
)
package() {
mkdir -p "$pkgdir/usr/lib/acestream/"
mkdir -p "$pkgdir/usr/bin"
mkdir -p "$pkgdir/usr/share/applications/"
mkdir -p "$pkgdir/usr/share/pixmaps/"
cd "$srcdir/acestream_${pkgver}_ubuntu_${_ubuntuver}_$CARCH"
sed -i "/ROOT=/c\ROOT=\/usr/lib\/acestream" "start-engine"
install -Dm755 "acestreamengine" "$pkgdir/usr/lib/acestream/acestreamengine"
install -Dm755 "start-engine" "$pkgdir/usr/lib/acestream/start-engine"
install -Dm644 "acestream.conf" "$pkgdir/usr/lib/acestream/acestream.conf"
install -Dm644 "data/images/streamer-32.png" "$pkgdir/usr/share/pixmaps/acestream-engine.png"
install -Dm644 "$srcdir/acestream-engine.service" "$pkgdir/usr/lib/systemd/system/acestream-engine.service"
install -Dm644 "$srcdir/acestream-engine.desktop" "$pkgdir/usr/share/applications/acestream-engine.desktop"
install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/lib/acestream/LICENSE"
cp -a "acestream.conf" "$pkgdir/usr/lib/acestream/acestream.conf"
cp -a "data" "$pkgdir/usr/lib/acestream/"
cp -a "lib" "$pkgdir/usr/lib/acestream/"
cp -a "$srcdir/usr/lib/python2.7/site-packages/M2Crypto" "$pkgdir/usr/lib/acestream/lib"
rm "$pkgdir/usr/lib/acestream/lib/lxml-3.7.2-py2.7-linux-x86_64.egg"
ln -sf "/usr/lib/acestream/start-engine" "$pkgdir/usr/bin/acestreamengine"
}
|