diff options
author | oli | 2015-12-11 22:35:24 +0100 |
---|---|---|
committer | oli | 2015-12-11 22:35:24 +0100 |
commit | 5f130c060a43c5eec9051458fb698fb53a8e96c6 (patch) | |
tree | 2857c3125b5c5b5c1f3555b44c7477a10ae1d17e /PKGBUILD | |
download | aur-5f130c060a43c5eec9051458fb698fb53a8e96c6.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5ca8b2cfb797 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Jozef Riha <jose1711 at gmail dot com> + +pkgname=televize-git +pkgdesc="CLI aplication to watch Czech television streams" +pkgver=r14.9b18d85 +pkgrel=1 +arch=('any') +url="https://github.com/ziima/televize" +license=('apache') +depends=('python2' 'mplayer' 'curl' 'bash') +source=("${pkgname}"::'git+https://github.com/ziima/televize.git') +md5sums=('SKIP') + + +pkgver() { + cd "$srcdir/${pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd ${srcdir}/${pkgname} + sed -i 's%python %python2 /usr/bin/%' televize + sed -i '1s/python/&2/' televize.py + install -D -m755 ./televize $pkgdir/usr/bin/ct_televize + install -D -m755 ./televize.py $pkgdir/usr/bin/televize.py +} |