summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eb9dfa481ed9133a7b1b19909ffb1d867cc0be7e (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
# Maintainer: Giusy Margarita <kurmikon at libero dot it>

pkgname=acestream-proxy-git
pkgver=1.0
pkgrel=5
pkgdesc="AceProxy new version capable of providing multiple streams of the same channel over HTTP (git version)"
arch=("any")
url="https://github.com/pepsik-kiev/HTTPAceProxy.git"
license=("custom")
depends=("acestream-engine" "python-gevent>=1.3.3" "python-psutil>=5.3.0")
optdepends=('ffmpeg: for stream transcoding and fine tuning yourself')
provides=("aceproxy")
conflicts=("aceproxy")
backup=("usr/lib/aceproxy/aceconfig.py")
source=("$pkgname::git+$url")
md5sums=("SKIP")

package() {
  mkdir -p "$pkgdir/usr/lib"
  mkdir -p "$pkgdir/usr/bin"
  
  rm -rf "$srcdir/$pkgname/.git"
  cp -r "$srcdir/$pkgname" "$pkgdir/usr/lib/aceproxy"

  ln -s "/usr/lib/aceproxy/acehttp.py" "$pkgdir/usr/bin/aceproxy"
}