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

David Runge dvzrv at gemini.archlinux.org
Sat Feb 19 12:43:11 UTC 2022


    Date: Saturday, February 19, 2022 @ 12:43:10
  Author: dvzrv
Revision: 1134863

upgpkg: smtube 21.10.0-2: Rebuild to fix problem with re-released tarball.

Upstream re-released their tarball:
https://bugs.archlinux.org/task/73874
https://github.com/smplayer-dev/smtube/issues/19

Simplify calls to make.
Remove unneeded quotes and curly braces.

Modified:
  smtube/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-19 12:26:38 UTC (rev 1134862)
+++ PKGBUILD	2022-02-19 12:43:10 UTC (rev 1134863)
@@ -4,13 +4,13 @@
 
 pkgname=smtube
 pkgver=21.10.0
-pkgrel=1
+pkgrel=2
 pkgdesc="An application that allows to browse, search and play YouTube videos"
-arch=('x86_64')
+arch=(x86_64)
 url="https://www.smtube.org/"
-license=('GPL2')
-depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'qt5-script' 'qt5-webkit')
-makedepends=('qt5-tools')
+license=(GPL2)
+depends=(gcc-libs glibc hicolor-icon-theme qt5-script qt5-webkit)
+makedepends=(qt5-tools)
 optdepends=('mplayer: play videos with MPlayer'
             'smplayer: play videos with SMPlayer'
             'gnome-mplayer: play videos with GNOME MPlayer'
@@ -20,15 +20,13 @@
             'mpv: play videos with MPV'
             'youtube-dl: download videos')
 source=("https://downloads.sourceforge.net/project/${pkgname}/SMTube/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
-sha512sums=('834919782f62ebae122984d6a33a7bd4c5fff7c16dd55ff4f2393d7e6814f9b046f7b51fd3ae78f3f371f29b454260962bb2d4e5b82c92590c035f0875cce49c')
-b2sums=('78fa8e41261eed836edc42cd311f85b46ad81279b33d64ee17a8937e383fea5b87acc589da60be921569e2f6d9a7bdf8ce285515030425ffff86c081bb60a64a')
+sha512sums=('7535dc2d1a66647adc7440cc0922f7d4bd6e91ed75bc68651dd38c33506911d9a6f062b90d787f58f78dc1be9b3be3590e75e89d5a1807b26f824d24c1ab5b59')
+b2sums=('87ea3d94e15f88f1d1e6c495e190e729fb60345336169c17aed9cd8955cc85bc6d802beaa1cd6f779e5586b336bba5c888e29e5a0b0202e6a011de77d89c30c3')
 
 build() {
-  cd "${pkgname}-${pkgver}"
-  make PREFIX=/usr
+  make PREFIX=/usr -C $pkgname-$pkgver
 }
 
 package() {
-  cd "${pkgname}-${pkgver}"
-  make PREFIX=/usr DESTDIR="${pkgdir}/" install
+  make PREFIX=/usr DESTDIR="${pkgdir}/" install -C $pkgname-$pkgver
 }



More information about the arch-commits mailing list