diff options
author | corbie | 2016-08-12 16:01:43 +0200 |
---|---|---|
committer | corbie | 2016-08-12 16:01:43 +0200 |
commit | e55d4ff9aa2e31868a0b5e1f5e326814745ea1f7 (patch) | |
tree | 70438d17cc9a4d5fdf2d2145ba685d940f51cdbd | |
parent | 9030a18e05ccf30a5e93b94d451011e6b4c4e346 (diff) | |
download | aur-e55d4ff9aa2e31868a0b5e1f5e326814745ea1f7.tar.gz |
dynamic source file name
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -9,7 +9,7 @@ pkgbase = twitch-curses depends = python-pycurl depends = python-urllib3 depends = livestreamer - source = https://gitlab.com/corbie/twitch-curses/raw/master/twitch-curses.py + source = twitch-curses_1.1-1::https://gitlab.com/corbie/twitch-curses/raw/master/twitch-curses.py sha256sums = SKIP pkgname = twitch-curses @@ -7,11 +7,11 @@ arch=('any') url="https://gitlab.com/corbie/twitch-curses" license=('WTFPL') depends=('python' 'python-pycurl' 'python-urllib3' 'livestreamer') -source=('https://gitlab.com/corbie/twitch-curses/raw/master/twitch-curses.py') +source=('${pkgname}_${pkgver}-${pkgrel}::https://gitlab.com/corbie/twitch-curses/raw/master/twitch-curses.py') sha256sums=('SKIP') package() { cd "$srcdir" - install -Dm755 twitch-curses.py \ + install -Dm755 ${pkgname}_${pkgver}-${pkgrel} \ "${pkgdir}/usr/bin/twitch-curses" } |