libview: More fixes for pkg-config file

This commit is contained in:
Alexpux
2015-01-13 01:06:46 +03:00
parent 77c88bf6d0
commit 8e7d96bbb3
2 changed files with 17 additions and 6 deletions

View File

@@ -1,8 +1,19 @@
--- ./libview.pc.in.orig 2015-01-12 09:55:44.051292400 +0100
+++ ./libview.pc.in 2015-01-12 09:56:29.968892700 +0100
@@ -1,4 +1,5 @@
prefix=${prefix}
@@ -1,10 +1,11 @@
-prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${prefix}/include
+prefix=@prefix@
+exec_prefix=@exec_prefix@
libdir=${exec_prefix}/lib
includedir=${prefix}/include
+libdir=@libdir@
+includedir=@includedir@
Name: libview
Description: VMware's Incredibly Exciting Widgets for GTK+
Version: @VERSION@
-Libs: -L${libdir} -lview @PACKAGE_LIBS@
-Cflags: -I${includedir} @PACKAGE_CFLAGS@
+Libs: -L${libdir} -lview
+Cflags: -I${includedir}

View File

@@ -14,10 +14,10 @@ license=("GPL 2")
url="http://view.sourceforge.net"
source=(http://downloads.sourceforge.net/view/${_realname}-$pkgver.tar.bz2
001-win.patch
002-missing-execprefix.patch)
002-missing-execprefix.patch)
sha256sums=('2b991bf150c5488b43f807e89bdbd64b2eb3bd433abbdfb68c3eec52cbaa59ab'
'7e7506735bf4c86c52aee2066955f18d539496cee9a41ed126cdb98b19bff24e'
'38e68e8b36982283153f288ab7107a5934bc302fc065eac4d6daa46f00202bf5')
'20ff38d461360fe3062f70d27f2d9f9b0e3d3db6de3042e9893a0660ab6cab4a')
prepare() {
cd "${srcdir}"/${_realname}-${pkgver}