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

Thomas Bächler thomas at archlinux.org
Wed Jun 30 13:29:50 EDT 2010


    Date: Wednesday, June 30, 2010 @ 13:29:50
  Author: thomas
Revision: 84519

Fix pkgconfig location, see https://bugs.archlinux.org/task/19883

Modified:
  cryptsetup/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-30 16:51:55 UTC (rev 84518)
+++ PKGBUILD	2010-06-30 17:29:50 UTC (rev 84519)
@@ -2,7 +2,7 @@
 # Maintainer: Thomas Bächler <thomas at archlinux.org>
 pkgname=cryptsetup
 pkgver=1.1.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi"
 arch=(i686 x86_64)
 license=('GPL')
@@ -22,8 +22,15 @@
   cd $srcdir/$pkgname-${pkgver}
   ./configure --prefix=/usr --disable-static --sbindir=/sbin --libdir=/lib
   make || return 1
+}
+
+package() {
+  cd $srcdir/$pkgname-${pkgver}
   make DESTDIR=$pkgdir install
   # install hook
-  install -D -m644 $srcdir/encrypt_hook $pkgdir/lib/initcpio/hooks/encrypt || return 1
-  install -D -m644 $srcdir/encrypt_install $pkgdir/lib/initcpio/install/encrypt || return 1
+  install -D -m644 $srcdir/encrypt_hook $pkgdir/lib/initcpio/hooks/encrypt
+  install -D -m644 $srcdir/encrypt_install $pkgdir/lib/initcpio/install/encrypt
+  # Fix pkgconfig location
+  install -d -m755 $pkgdir/usr/lib
+  mv $pkgdir/lib/pkgconfig $pkgdir/usr/lib/
 }



More information about the arch-commits mailing list