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

Andrea Scarpino andrea at nymeria.archlinux.org
Wed Jan 15 21:46:54 UTC 2014


    Date: Wednesday, January 15, 2014 @ 22:46:54
  Author: andrea
Revision: 204262

boost is a makedeps

Modified:
  kdeutils-kgpg/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-15 21:16:56 UTC (rev 204261)
+++ PKGBUILD	2014-01-15 21:46:54 UTC (rev 204262)
@@ -9,15 +9,17 @@
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 depends=('kdebase-runtime' 'kdepimlibs' 'kde-agent')
-makedepends=('cmake' 'automoc4')
+makedepends=('cmake' 'automoc4' 'boost')
 groups=('kde' 'kdeutils')
 install=${pkgname}.install
 source=("http://download.kde.org/stable/${pkgver}/src/kgpg-${pkgver}.tar.xz")
 sha1sums=('40622c63b2286685c44b2984e0438abcbdf82055')
 
+prepare() {
+  mkdir build
+}
+
 build() {
-  cd "${srcdir}"
-  mkdir build
   cd build
   cmake ../kgpg-${pkgver} \
     -DCMAKE_BUILD_TYPE=Release \
@@ -27,6 +29,6 @@
 }
 
 package() {
-  cd $srcdir/build
+  cd build
   make DESTDIR=$pkgdir install
 }




More information about the arch-commits mailing list