summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD20
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..502f6ab0750
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = kproxyswitch
+ pkgdesc = A simple bash script, which makes setting the proxy server easier in KDE
+ pkgver = 1.03
+ pkgrel = 1
+ url = http://kde-apps.org/content/show.php?content=34605
+ arch = any
+ license = GPL
+ depends = bash
+ depends = kdelibs
+ source = http://patrick-nagel.net/scripts/kproxyswitch/kproxyswitch.sh
+ md5sums = 023990efbaa02ce002b6195e62dee7ce
+
+pkgname = kproxyswitch
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..acf346843a2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kproxyswitch
+pkgver=1.03
+pkgrel=1
+pkgdesc='A simple bash script, which makes setting the proxy server easier in KDE'
+arch=('any')
+url="http://kde-apps.org/content/show.php?content=34605"
+license=('GPL')
+depends=('bash' 'kdelibs')
+source=("http://patrick-nagel.net/scripts/${pkgname}/${pkgname}.sh")
+md5sums=('023990efbaa02ce002b6195e62dee7ce')
+
+package() {
+ cd ${srcdir}
+
+ sed -i 's|${HOME}/.kde/|`kde4-config --localprefix`|' kproxyswitch.sh
+
+ install -Dm755 kproxyswitch.sh ${pkgdir}/usr/bin/kproxyswitch
+}