summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-23 00:01:51 +0000
committerroot <root@rshg054.dnsready.net>2012-06-23 00:01:51 +0000
commit11357a5ab02a7d536375fb8333b2fb67278b4a36 (patch)
treed7fcdafef9843eb4e64b1edb25c5ccbc0cffe8db /testing
parentfb930f28bff4a4b4b37444e3f570904d6db3d06e (diff)
Sat Jun 23 00:01:50 UTC 2012
Diffstat (limited to 'testing')
-rw-r--r--testing/kdeplasma-applets-networkmanagement/PKGBUILD35
-rw-r--r--testing/kdeplasma-applets-networkmanagement/kdeplasma-applets-networkmanagement.install11
-rw-r--r--testing/libusbx/PKGBUILD32
3 files changed, 78 insertions, 0 deletions
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 <andrea@archlinux.org>
+# Contributor: Jakub Schmidtke <sjakub-at-gmail.com>
+
+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 <tpowa@archlinux.org>
+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
+}