summaryrefslogtreecommitdiff
path: root/community/launchy
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-15 00:01:19 +0000
committerroot <root@rshg054.dnsready.net>2012-03-15 00:01:19 +0000
commit14635ca5380a480450a66c3fcc29992d29a2bd8e (patch)
treea2f8e712c9e15b829397666c06d1cdd1a877d8a6 /community/launchy
parent01a0c4bc740842efa3bf1a7e1d6c8be5656e4e2a (diff)
Thu Mar 15 00:01:19 UTC 2012
Diffstat (limited to 'community/launchy')
-rw-r--r--community/launchy/PKGBUILD23
-rw-r--r--community/launchy/fix-linking.patch11
2 files changed, 26 insertions, 8 deletions
diff --git a/community/launchy/PKGBUILD b/community/launchy/PKGBUILD
index 7cc63520e..d73c2fbbf 100644
--- a/community/launchy/PKGBUILD
+++ b/community/launchy/PKGBUILD
@@ -3,23 +3,30 @@
pkgname=launchy
pkgver=2.5
-pkgrel=1
+pkgrel=2
pkgdesc="Launchy indexes the programs in your start menu and can launch your documents, project files, folders, and bookmarks with just a few keystrokes!"
arch=('i686' 'x86_64')
url="http://www.launchy.net/"
license=('GPL')
depends=('qt' 'xdg-utils')
makedepends=('gcc' 'boost')
-source=("http://downloads.sourceforge.net/launchy/launchy-${pkgver}.tar.gz")
-sha256sums=('93ec471423b77973a2118eaec64c7a1c05ce37b5bff41760336ebd14fc819500')
+source=("http://downloads.sourceforge.net/launchy/launchy-${pkgver}.tar.gz"
+ fix-linking.patch)
+sha256sums=('93ec471423b77973a2118eaec64c7a1c05ce37b5bff41760336ebd14fc819500'
+ 'e1b9203ef5071d401ab6276a38270b651488c4cc481a60a98d2c17fb38114e7d')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- qmake -r Launchy.pro || return 1
- make || return 1
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ # fix linking against libX11
+ patch -Np1 -i ../fix-linking.patch
+
+ qmake -r Launchy.pro
+ make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make INSTALL_ROOT=${pkgdir} install
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ make INSTALL_ROOT=${pkgdir} install
}
diff --git a/community/launchy/fix-linking.patch b/community/launchy/fix-linking.patch
new file mode 100644
index 000000000..fbdd3f2ae
--- /dev/null
+++ b/community/launchy/fix-linking.patch
@@ -0,0 +1,11 @@
+diff -Nru launchy-2.5/src/src.pro launchy-2.5a/src/src.pro
+--- launchy-2.5/src/src.pro 2010-03-13 18:29:11.000000000 +0000
++++ launchy-2.5a/src/src.pro 2012-03-13 12:00:35.249250229 +0000
+@@ -70,6 +70,7 @@
+ ../platforms/unix/platform_x11_hotkey.h \
+ platform_base_hotkey.h \
+ platform_base_hottrigger.h
++ LIBS += -lX11
+
+ PREFIX = /usr
+ DEFINES += SKINS_PATH=\\\"$$PREFIX/share/launchy/skins/\\\" \