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

Andrea Scarpino andrea at archlinux.org
Sun Jan 17 13:38:20 EST 2010


    Date: Sunday, January 17, 2010 @ 13:38:19
  Author: andrea
Revision: 63514

cleanup build

Modified:
  digikam/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-01-17 18:38:16 UTC (rev 63513)
+++ PKGBUILD	2010-01-17 18:38:19 UTC (rev 63514)
@@ -10,17 +10,20 @@
 url="http://digikam.sourceforge.net"
 depends=('kdebase-runtime' 'kdegraphics-libs' 'kdepimlibs' 'lensfun' 'kdeedu-marble' 'liblqr')
 makedepends=('pkgconfig' 'cmake' 'automoc4')
-source=(http://downloads.sourceforge.net/digikam/${pkgname}-${pkgver}.tar.bz2)
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
 replaces=('digikamimageplugins')
 install=digikam.install
 optdepends=('kipi-plugins: for more extras and plugins')
 
 build() {
+   cd ${srcdir}
    mkdir build
    cd build
-   cmake ../${pkgname}-${pkgver} -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_MARBLEWIDGET=yes -DWITH_MarbleWidget=yes \
-    -DCMAKE_SKIP_RPATH=ON \
-    -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
+   cmake ../${pkgname}-${pkgver} \
+     -DCMAKE_INSTALL_PREFIX=/usr \
+     -DENABLE_MARBLEWIDGET=yes \
+     -DWITH_MarbleWidget=yes \
+     -DCMAKE_SKIP_RPATH=ON
    make all|| return 1
    make DESTDIR=${pkgdir} install || return 1
  }



More information about the arch-commits mailing list