[arch-commits] Commit in minitube/trunk (PKGBUILD minitube.install minitube.sh)

Antonio Rojas arojas at archlinux.org
Sat Aug 19 08:36:31 UTC 2017


    Date: Saturday, August 19, 2017 @ 08:36:30
  Author: arojas
Revision: 252550

Drop minitube.sh, let users input the Google key at runtime (FS#55118, FS#44735)

Modified:
  minitube/trunk/PKGBUILD
Deleted:
  minitube/trunk/minitube.install
  minitube/trunk/minitube.sh

------------------+
 PKGBUILD         |   13 +++----------
 minitube.install |    9 ---------
 minitube.sh      |    9 ---------
 3 files changed, 3 insertions(+), 28 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-19 08:02:06 UTC (rev 252549)
+++ PKGBUILD	2017-08-19 08:36:30 UTC (rev 252550)
@@ -4,7 +4,7 @@
 
 pkgname=minitube
 pkgver=2.8
-pkgrel=1
+pkgrel=2
 pkgdesc="A native YouTube client in Qt. Watch YouTube videos without Flash Player"
 arch=('i686' 'x86_64')
 url='http://flavio.tordini.org/minitube'
@@ -11,11 +11,8 @@
 license=('GPL3')
 depends=('phonon-qt5' 'qt5-declarative' 'hicolor-icon-theme')
 makedepends=('qt5-tools')
-install="$pkgname.install"
-backup=('etc/profile.d/minitube.sh')
-source=($pkgname-$pkgver.tar.gz::"https://github.com/flaviotordini/minitube/archive/$pkgver.tar.gz" $pkgname.sh)
-md5sums=('b1a327ce71c304d63b0b2cf1e1e7c2b0'
-         '01d1d532dd7f4670cf7f33f007863b7a')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/flaviotordini/minitube/archive/$pkgver.tar.gz")
+sha256sums=('c8e7c39d5125027d076440830c6cc33d2782e0d65047d639dfa55e839e64d88c')
 
 build() {
   cd $pkgname-$pkgver
@@ -25,8 +22,4 @@
 package() {
   cd $pkgname-$pkgver
   make install INSTALL_ROOT="$pkgdir/"
-
-  # GOOGLE_API_KEY
-  install -Dm644 ../$pkgname.sh \
-    "$pkgdir/etc/profile.d/$pkgname.sh"
 }

Deleted: minitube.install
===================================================================
--- minitube.install	2017-08-19 08:02:06 UTC (rev 252549)
+++ minitube.install	2017-08-19 08:36:30 UTC (rev 252550)
@@ -1,9 +0,0 @@
-post_upgrade() {
-  cat << EOF
-
-  # Google is now requiring an API key in order to access YouTube Data web services.
-  # Create a "Browser Key" at https://console.developers.google.com and put it in
-  # /etc/profile.d/minitube.sh as the GOOGLE_API_KEY environmental variable.
-
-EOF
-}

Deleted: minitube.sh
===================================================================
--- minitube.sh	2017-08-19 08:02:06 UTC (rev 252549)
+++ minitube.sh	2017-08-19 08:36:30 UTC (rev 252550)
@@ -1,9 +0,0 @@
-# Google is now requiring an API key in order to access YouTube Data web services.
-# Create a "Browser Key" at https://console.developers.google.com and put it here.
-
-export GOOGLE_API_KEY=""
-
-# Uncomment the following line if you do use any
-# Desktop Environment and icons does not show up
-
-#export DESKTOP_SESSION="gnome"
\ No newline at end of file



More information about the arch-commits mailing list