summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ca5514678fa4..28e8af946867 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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