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

Antonio Rojas arojas at archlinux.org
Mon Apr 29 21:03:09 UTC 2019


    Date: Monday, April 29, 2019 @ 21:03:07
  Author: arojas
Revision: 456525

Update to qt5 fork 2.9.1-pre.1

Modified:
  launchy/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-29 21:02:09 UTC (rev 456524)
+++ PKGBUILD	2019-04-29 21:03:07 UTC (rev 456525)
@@ -2,31 +2,28 @@
 # Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=launchy
-pkgver=2.5
-pkgrel=6
+_pkgver=2.9.1-pre.1
+pkgver=${_pkgver/-/}
+pkgrel=1
 pkgdesc="Indexes the programs in your start menu and can launch your documents, project files, folders, and bookmarks with just a few keystrokes!"
 arch=('x86_64')
 url="http://www.launchy.net/"
 license=('GPL')
-depends=('qt4' 'xdg-utils')
-makedepends=('gcc' 'boost')
-source=("http://downloads.sourceforge.net/launchy/launchy-${pkgver}.tar.gz"
-	fix-linking.patch)
-sha512sums=('31cf591184c81c5c44c174f12ffdec4fd15eb2f78af3195afceb9b11253d4bb17edee77b9316c8275828431b2ece5bfbc69f50b390eec27295828e80965c0930'
-            '40351c33e41f423801c98685dbb7274d668ca1678b8d13aa6396600bf7052a7cef3c1421b428740c50e36c6ba8b1428182cdb54c59af54456799b7334b9ba053')
+depends=('qt5-x11extras' 'qt5-declarative' 'qt5-svg')
+makedepends=('qt5-tools' 'boost' 'cmake')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/Slesa/launchy/archive/v$_pkgver.tar.gz")
+sha512sums=('54d27e39a86f4b9c3d7a2770d06ef6a6bcdc5dee770e523c9fcb9dd3c25c7de1705c9f0d0b5452a9b7d20b607a998ad7faa713aa6566dc3f406cacb14a84f8bd')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${_pkgver}/src
 
-  # fix linking against libX11
-  patch -Np1 -i ../fix-linking.patch
-
-  qmake-qt4 -r Launchy.pro
+  cmake . \
+    -DCMAKE_INSTALL_PREFIX=/usr
   make
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${_pkgver}/src
 
-  make INSTALL_ROOT=${pkgdir} install
+  make DESTDIR="${pkgdir}" install
 }


More information about the arch-commits mailing list