Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Jonian Guveli <[email protected]>
- # Contributor: Drommer <[email protected]>
- _distr=debian_10.5
- pkgname=acestream-engine
- pkgver=3.1.74
- pkgrel=3
- pkgdesc="ACE Stream Engine - an engine which allows users to watch live streams and video based on torrent protocol"
- arch=('x86_64')
- url='http://acestream.org'
- license=('custom')
- depends=('net-tools' 'openssl-1.1' 'python2-apsw' 'python2-chardet' 'python2-idna'
- 'python2-requests' 'python2-setuptools' 'python2-urllib3')
- optdepends=("pygtk: GTK+ gui support" "python2-libappindicator: GTK+ gui support")
- source=("$pkgname-$pkgver.tar.gz::https://download.acestream.media/linux/acestream_${pkgver}_${_distr}_${arch}.tar.gz"
- "acestream-engine.service")
- sha256sums=('3bcc201fa6dcf6a0ca3d35d549c279df744431d62de586b7a4686a78ae04bfd9'
- 'b9863a9dd3ee6d41d18475f5f539107fe81a573f45ca1cb98013441f955f1af0')
- package() {
- mkdir -p "$pkgdir/usr/bin"
- sed -i "/ROOT=/c\ROOT=\/opt\/acestream" "$srcdir/start-engine"
- install -Dm755 "$srcdir/acestreamengine" "$pkgdir/opt/acestream/acestreamengine"
- install -Dm755 "$srcdir/start-engine" "$pkgdir/opt/acestream/start-engine"
- install -Dm644 "$srcdir/acestream.conf" "$pkgdir/opt/acestream/acestream.conf"
- install -Dm644 "$srcdir/acestream-engine.service" "$pkgdir/usr/lib/systemd/system/acestream-engine.service"
- cp -a "$srcdir/data" "$srcdir/lib" "$pkgdir/opt/acestream"
- ln -sf "/opt/acestream/start-engine" "$pkgdir/usr/bin/acestreamengine"
- }
Add Comment
Please, Sign In to add comment