From f54755b05952a85cdccba909b0de092d4fc8c598 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 27 Feb 2017 01:18:56 -0300 Subject: popcorntime: remove package from [pcr] since it contains embedded Chromium --- pcr/popcorntime/PKGBUILD | 86 ------------------------------------- pcr/popcorntime/popcorntime.desktop | 9 ---- 2 files changed, 95 deletions(-) delete mode 100644 pcr/popcorntime/PKGBUILD delete mode 100644 pcr/popcorntime/popcorntime.desktop diff --git a/pcr/popcorntime/PKGBUILD b/pcr/popcorntime/PKGBUILD deleted file mode 100644 index d60995279..000000000 --- a/pcr/popcorntime/PKGBUILD +++ /dev/null @@ -1,86 +0,0 @@ -# Maintainer (Arch): Giovanni 'ItachiSan' Santini -# Contributor (Arch): Vlad M. -# Contributor (Arch): Attila Bukor -# Contributor (Arch): Hugo Osvaldo Barrera -# Contributor (Arch): xantares -# Contributor (Arch): Eric Engestrom -# Contributor (Arch): Iwan Timmer -# Contributor (Arch): Ricardo Band - -pkgname=popcorntime -pkgver=0.3.10 -pkgrel=1 -pkgdesc="Stream movies from torrents. Skip the downloads. Launch, click, watch." -arch=('i686' 'x86_64') -url="https://popcorntime.sh" -license=('GPL3') -makedepends=( - 'npm' - 'bower' - 'nodejs-grunt-cli' - 'gulp' - 'git' -) -depends=( - 'alsa-lib' - 'gconf' - 'gtk2' - 'libnotify' - 'libxtst' - 'nss' - 'ttf-font' -) -optdepends=('net-tools: vpn.ht client') -replaces=('popcorntime-git') -conflicts=('popcorntime-git') -options=('!strip') -# Needed variables for sources downloads -_commit_hash="tag=0.3.10" - -_pkgname="popcorn-desktop" -source=( - "${_pkgname}_${pkgver}::git+https://github.com/popcorn-official/popcorn-desktop/#${_commit_hash}" - "popcorntime.desktop" -) -sha256sums=('SKIP' - '4422f21e16176fda697ed0c8a6d1fb6f9dd7c4bc3f3694f9bcc19cbe66630334') - -# Useful variables for builds -[ "$CARCH" = "i686" ] && _platform=linux32 -[ "$CARCH" = "x86_64" ] && _platform=linux64 -_srcdir="${_pkgname}_${pkgver}" -_bpath="${_srcdir}/build/Popcorn-Time/${_platform}" - -# Building the package -prepare() { - cd "${srcdir}/${_srcdir}" - - msg2 "Installing npm and bower dependencies..." - # Using a different folder for the cache, makes the system cleaner - _cache=`npm config get cache` - npm config set cache "$srcdir/npm_cache" - # Actually install the stuff - msg2 "Cache changed from $_cache to `npm config get cache`, ready to install" - npm install #-dd install - # Restore the cache directory - npm config set cache ${_cache} -} - -build() { - cd "${srcdir}/${_srcdir}" - - gulp build -} - -package() { - mkdir -p "${pkgdir}/usr/share/${pkgname}" - mkdir -p "${pkgdir}/usr/bin" - - cp -a "${_bpath}"/* "${pkgdir}/usr/share/${pkgname}/" - - install -Dm644 "${srcdir}/${_srcdir}/src/app/images/icon.png" "${pkgdir}/usr/share/pixmaps/popcorntime.png" - - ln -s "/usr/share/${pkgname}/Popcorn-Time" "${pkgdir}/usr/bin/${pkgname}" - - install -Dm644 "${srcdir}/popcorntime.desktop" "${pkgdir}/usr/share/applications/popcorntime.desktop" -} diff --git a/pcr/popcorntime/popcorntime.desktop b/pcr/popcorntime/popcorntime.desktop deleted file mode 100644 index 3b39b6356..000000000 --- a/pcr/popcorntime/popcorntime.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=Popcorn Time -Comment=Watch Movies and TV Shows instantly -Exec=popcorntime %U -Icon=popcorntime -MimeType=application/x-bittorrent;x-scheme-handler/magnet; -StartupNotify=false -Categories=AudioVideo;Video;Network;Player;P2P; -Type=Application -- cgit v1.2.3