summaryrefslogtreecommitdiff
path: root/community/knemo/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/knemo/PKGBUILD')
-rw-r--r--community/knemo/PKGBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/community/knemo/PKGBUILD b/community/knemo/PKGBUILD
index 4cd33a88f..7838449ca 100644
--- a/community/knemo/PKGBUILD
+++ b/community/knemo/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 85916 2013-03-08 23:40:41Z foutrelis $
+# $Id: PKGBUILD 105367 2014-02-06 05:24:13Z bisson $
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
@@ -6,7 +6,7 @@
pkgname=knemo
pkgver=0.7.6
-pkgrel=3
+pkgrel=4
pkgdesc="The KDE Network Monitor"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.kde-apps.org/content/show.php?content=12956"
@@ -15,25 +15,26 @@ depends=('kdebase-workspace' 'wireless_tools' 'iw' 'libnl' 'gtk-update-icon-cach
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')
-build() {
- cd ${srcdir}
-
+prepare() {
mkdir build
+}
+
+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
-
- make DESTDIR=${pkgdir} install
+ cd build
+ make DESTDIR="${pkgdir}" install
# remove knemo autostart
# rm -rf ${pkgdir}/usr/share/autostart