diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0c26701e2916 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = acestream-launcher + pkgdesc = Acestream Launcher allows you to open Acestream links with a Media Player of your choice + pkgver = 0.1.0 + pkgrel = 1 + url = https://github.com/jonian/acestream-launcher + arch = any + license = GPL + depends = python2-psutil + depends = python2-pexpect + depends = acestream-engine + optdepends = vlc + provides = acestream-launcher + source = https://github.com/jonian/acestream-launcher/archive/v0.1.0.tar.gz + md5sums = SKIP + +pkgname = acestream-launcher + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c5ba1bd78f44 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Jonian Guveli <https://github.com/jonian/> +pkgname=acestream-launcher +pkgver=0.1.0 +pkgrel=1 +pkgdesc="Acestream Launcher allows you to open Acestream links with a Media Player of your choice" +arch=('any') +url="https://github.com/jonian/acestream-launcher" +license=('GPL') +groups=() +depends=('python2-psutil' 'python2-pexpect' 'acestream-engine') +makedepends=() +optdepends=('vlc') +provides=('acestream-launcher') +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=(https://github.com/jonian/acestream-launcher/archive/v$pkgver.tar.gz) +noextract=() +md5sums=('SKIP') + +package() { + mkdir -p "$pkgdir/opt" + mkdir -p "$pkgdir/usr/bin" + mkdir -p "$pkgdir/usr/share/applications" + + cp -a "$srcdir/$pkgname-$pkgver" "$pkgdir/opt/acestream-launcher" + + update-desktop-database "$pkgdir/opt/acestream-launcher" + + ln -s "/opt/acestream-launcher/acestream-launcher.py" "$pkgdir/usr/bin/acestream-launcher" + mv "$pkgdir/opt/acestream-launcher/acestream-launcher.desktop" "$pkgdir/usr/share/applications/acestream-launcher.desktop" +} |