diff options
author | Jean Lucas | 2019-03-06 15:24:57 -0500 |
---|---|---|
committer | Jean Lucas | 2019-03-06 15:24:57 -0500 |
commit | 7fca040de9b82bbfd1f455cf5cef2ea77bbd683d (patch) | |
tree | 4ccb3bec405bcb5c96543e6c22fdd31ca3b643f4 | |
parent | cf7395502649f410f63d72ad8449b23f9363873b (diff) | |
download | aur-7fca040de9b82bbfd1f455cf5cef2ea77bbd683d.tar.gz |
Readd platform identifier
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 6 insertions, 3 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Wed Mar 6 03:23:46 UTC 2019 +# Wed Mar 6 20:23:57 UTC 2019 pkgbase = popcorntime-git pkgdesc = BitTorrent client with integrated media player (git) pkgver = 0.3.10+6429+1537575b - pkgrel = 1 + pkgrel = 2 url = https://popcorntime.sh arch = i686 arch = x86_64 @@ -5,7 +5,7 @@ pkgname=popcorntime-git pkgver=0.3.10+6429+1537575b -pkgrel=1 +pkgrel=2 pkgdesc='BitTorrent client with integrated media player (git)' arch=(i686 x86_64) url=https://popcorntime.sh @@ -32,6 +32,9 @@ build() { yarn build } +[ "$CARCH" = i686 ] && _platform=linux32 +[ "$CARCH" = x86_64 ] && _platform=linux64 + package() { install -Dm 644 popcorntime.desktop "$pkgdir"/usr/share/applications/popcorntime.desktop cd popcorn-desktop/build/Popcorn-Time/$_platform |