[arch-commits] Commit in plowshare/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Jul 11 18:05:55 UTC 2017


    Date: Tuesday, July 11, 2017 @ 18:05:54
  Author: arojas
Revision: 244374

Move to js24

Modified:
  plowshare/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-11 18:03:19 UTC (rev 244373)
+++ PKGBUILD	2017-07-11 18:05:54 UTC (rev 244374)
@@ -4,24 +4,24 @@
 
 pkgname=plowshare
 pkgver=2.1.6
-pkgrel=1
+pkgrel=2
 pkgdesc="Command-line downloader and uploader for Rapidshare, Mediafire and other file sharing websites."
 arch=('any')
 url="https://github.com/mcrapet/plowshare"
 license=('GPL3')
-depends=('curl' 'recode' 'js185' 'git')
+depends=('curl' 'recode' 'js' 'git')
 optdepends=('bash-completion: enable bash auto completion'
             'libcaca: ascii display for no X server')
-source=("$url/archive/v$pkgver.tar.gz")
+source=($pkgname-$pkgver.tar.gz::"$url/archive/v$pkgver.tar.gz")
 md5sums=('123946c904237b81c5df653f983e3c1c')
 
 package() {
-  cd $pkgname-*
+  cd $pkgname-$pkgver
 
   # force release version
   export PLOWSHARE_FORCE_VERSION=$pkgver
 
   DESTDIR="$pkgdir/" PREFIX=/usr make
+
+  sed -e 's|-js}|-js24}|' -i "$pkgdir"/usr/share/plowshare/core.sh
 }
-
-# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list