diff options
author | Étienne Deparis | 2018-02-11 19:07:35 +0100 |
---|---|---|
committer | Étienne Deparis | 2018-02-11 19:07:35 +0100 |
commit | d7e0e1dd268e162e851978dcb0ede4b2f98071b3 (patch) | |
tree | 407c0cc30734b61699e156c7ab7e2d3e7c80cdc2 | |
parent | bef2605bfd1613b3ab6ec879b725dfd6b9cd8804 (diff) | |
download | aur-d7e0e1dd268e162e851978dcb0ede4b2f98071b3.tar.gz |
We should keep the pkconfig fix to reference /usr/lib instead of /usr/lib64
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 9 insertions, 3 deletions
@@ -1,9 +1,9 @@ # Generated by makepkg 5.0.2 -# Sun Feb 11 17:44:55 UTC 2018 +# Sun Feb 11 18:06:56 UTC 2018 pkgbase = libnitrokey pkgdesc = Communicate with Nitrokey stick devices in a clean and easy manner pkgver = 3.2 - pkgrel = 3 + pkgrel = 4 url = https://www.nitrokey.com arch = i686 arch = x86_64 @@ -2,7 +2,7 @@ pkgname=libnitrokey pkgver=3.2 -pkgrel=3 +pkgrel=4 pkgdesc="Communicate with Nitrokey stick devices in a clean and easy manner" arch=('i686' 'x86_64') url="https://www.nitrokey.com" @@ -15,6 +15,12 @@ sha256sums=('b4ebffcf2143fb2cf535200a1f77ac123d50d87747e40ff8587f3fad2f2cb0fa') prepare() { cd "$srcdir/$pkgname-$pkgver/" mkdir -p build + + # This modify the template file, which will serve to generate the + # /usr/lib/pkgconfig/libnitrokey-1.pc final file. Without this line, + # the pkgconfig file will keep a reference to /usr/lib64 + sed -i 's|^libdir=@CMAKE_INSTALL_FULL_LIBDIR@$|libdir=/usr/lib|' \ + libnitrokey.pc.in } build() { |