From 11357a5ab02a7d536375fb8333b2fb67278b4a36 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 23 Jun 2012 00:01:51 +0000 Subject: Sat Jun 23 00:01:50 UTC 2012 --- .../kdeplasma-applets-networkmanagement/PKGBUILD | 35 ++++++++++++++++++++++ .../kdeplasma-applets-networkmanagement.install | 11 +++++++ testing/libusbx/PKGBUILD | 32 ++++++++++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 testing/kdeplasma-applets-networkmanagement/PKGBUILD create mode 100644 testing/kdeplasma-applets-networkmanagement/kdeplasma-applets-networkmanagement.install create mode 100644 testing/libusbx/PKGBUILD (limited to 'testing') diff --git a/testing/kdeplasma-applets-networkmanagement/PKGBUILD b/testing/kdeplasma-applets-networkmanagement/PKGBUILD new file mode 100644 index 000000000..3d3ad47bd --- /dev/null +++ b/testing/kdeplasma-applets-networkmanagement/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 105813 2011-01-12 00:25:58Z andrea $ +# Maintainer: Andrea Scarpino +# Contributor: Jakub Schmidtke + +pkgname=kdeplasma-applets-networkmanagement +epoch=1 +pkgver=0.9.0.3 +pkgrel=1 +pkgdesc="KDE control panel and widget network connections" +arch=('i686' 'x86_64') +url='https://projects.kde.org/projects/extragear/base/networkmanagement' +license=('GPL') +depends=('kdebase-workspace' 'networkmanager') +makedepends=('cmake' 'python2' 'automoc4' 'mobile-broadband-provider-info' + 'openconnect') +optdepends=('mobile-broadband-provider-info: Database of mobile broadband service providers' + 'openconnect: Cisco AnyConnect compatible VPN client') +install=${pkgname}.install +source=("http://download.kde.org/unstable/networkmanagement/${pkgver}/src/networkmanagement-${pkgver}.tar.bz2") +sha256sums=('d8ad2dd89521dbe21e17131ef24bd7d792e90a150e15f0fbdab1bfa4a46e00f7') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../networkmanagement-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +} diff --git a/testing/kdeplasma-applets-networkmanagement/kdeplasma-applets-networkmanagement.install b/testing/kdeplasma-applets-networkmanagement/kdeplasma-applets-networkmanagement.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/testing/kdeplasma-applets-networkmanagement/kdeplasma-applets-networkmanagement.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/testing/libusbx/PKGBUILD b/testing/libusbx/PKGBUILD new file mode 100644 index 000000000..e71668459 --- /dev/null +++ b/testing/libusbx/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 162126 2012-06-21 06:54:30Z tpowa $ +# Maintainer: Tobias Powalowski +pkgname=libusbx +pkgver=1.0.12 +pkgrel=1 +depends=('glibc') +pkgdesc="Library that provides generic access to USB device" +arch=(i686 x86_64) +url="http://libusbx.org" +license=('LGPL') +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2) +options=(!libtool) +replaces=('libusb1' 'libusb') +provides=("libusb=$pkgver") +conflicts=("libusb") +md5sums=('c41352ac755c7992edfcbb2ea4ad1349') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package () { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} -- cgit v1.2.3-54-g00ecf