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

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Sat Feb 1 13:35:58 UTC 2014


    Date: Saturday, February 1, 2014 @ 14:35:57
  Author: bpiotrowski
Revision: 105139

upgpkg: knemo 0.7.6-4

rebuild against wireless_tools 30.pre9

Modified:
  knemo/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-02-01 13:16:25 UTC (rev 105138)
+++ PKGBUILD	2014-02-01 13:35:57 UTC (rev 105139)
@@ -6,7 +6,7 @@
 
 pkgname=knemo
 pkgver=0.7.6
-pkgrel=3
+pkgrel=4
 pkgdesc="The KDE Network Monitor"
 arch=('i686' 'x86_64')
 url="http://www.kde-apps.org/content/show.php?content=12956"
@@ -15,26 +15,27 @@
 makedepends=('cmake' 'automoc4')
 install=${pkgname}.install
 options=('libtool')
-source=("http://www.kde-apps.org/CONTENT/content-files/12956-${pkgname}-${pkgver}.tar.bz2")
+source=(https://launchpad.net/ubuntu/+archive/primary/+files/knemo_$pkgver.orig.tar.bz2)
 md5sums=('42b35d4d48698a2f514adeb2ca872408')
 
+prepare() {
+  mkdir build
+}
+
 build() {
-  cd ${srcdir}
+  cd build
 
-  mkdir build
-  cd build
   cmake ../${pkgname}-${pkgver} \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_SKIP_RPATH=ON \
-    -DCMAKE_INSTALL_PREFIX=/usr    
+    -DCMAKE_INSTALL_PREFIX=/usr
   make
 }
 
 package() {
-  cd ${srcdir}/build
+  cd build
+  make DESTDIR="${pkgdir}" install
 
-  make DESTDIR=${pkgdir} install
-
   # remove knemo autostart
   # rm -rf ${pkgdir}/usr/share/autostart
 }




More information about the arch-commits mailing list