[arch-commits] Commit in minitube/trunk (PKGBUILD fix-build.patch)

speps speps at nymeria.archlinux.org
Sun Feb 3 13:21:16 UTC 2013


    Date: Sunday, February 3, 2013 @ 14:21:16
  Author: speps
Revision: 83575

upgpkg: minitube 2.0-1

Modified:
  minitube/trunk/PKGBUILD
Deleted:
  minitube/trunk/fix-build.patch

-----------------+
 PKGBUILD        |   22 +++++++++-------------
 fix-build.patch |   11 -----------
 2 files changed, 9 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-03 13:21:15 UTC (rev 83574)
+++ PKGBUILD	2013-02-03 13:21:16 UTC (rev 83575)
@@ -1,29 +1,25 @@
 # $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Maintainer : speps <speps at aur dot archlinux dot org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
 
 pkgname=minitube
-pkgver=1.9
+pkgver=2.0
 pkgrel=1
 pkgdesc="A native YouTube client in QT. Watch YouTube videos without Flash Player"
 arch=('i686' 'x86_64')
 url='http://flavio.tordini.org/minitube'
 license=('GPL')
 depends=('phonon')
-install="${pkgname}.install"
-source=("http://flavio.tordini.org/files/${pkgname}/${pkgname}-${pkgver}.tar.gz"
-        'fix-build.patch')
-md5sums=('a60bb568519eb91035d5d6dc27ff1406'
-         'b6d67acdfc5ef17235449ca13575ba97')
+install="$pkgname.install"
+source=("http://flavio.tordini.org/files/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('7df1e44b86a4744a492ccc414c0fa77d')
 
 build() {
-  cd ${pkgname}
-
-  patch -p1 -i "${srcdir}"/fix-build.patch
-
+  cd "$srcdir/$pkgname"
   qmake
 }
 
 package() {
-  cd ${pkgname}
-  make install INSTALL_ROOT="${pkgdir}"
+  cd "$srcdir/$pkgname"
+  make install INSTALL_ROOT="$pkgdir/"
 }

Deleted: fix-build.patch
===================================================================
--- fix-build.patch	2013-02-03 13:21:15 UTC (rev 83574)
+++ fix-build.patch	2013-02-03 13:21:16 UTC (rev 83575)
@@ -1,11 +0,0 @@
---- minitube/src/qtsingleapplication/qtlocalpeer.cpp~	2012-06-29 18:13:35.133070928 +0000
-+++ minitube/src/qtsingleapplication/qtlocalpeer.cpp	2012-06-29 18:14:16.359420453 +0000
-@@ -57,6 +57,8 @@
- static PProcessIdToSessionId pProcessIdToSessionId = 0;
- #endif
- #if defined(Q_OS_UNIX)
-+#include <sys/types.h>
-+#include <unistd.h>
- #include <time.h>
- #endif
- 




More information about the arch-commits mailing list