summaryrefslogtreecommitdiff
path: root/extra/qoauth/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/qoauth/PKGBUILD')
-rw-r--r--extra/qoauth/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/qoauth/PKGBUILD b/extra/qoauth/PKGBUILD
new file mode 100644
index 000000000..86b4adc21
--- /dev/null
+++ b/extra/qoauth/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 153702 2012-03-18 08:58:10Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Peter Richard Lewis <plewis@aur.archlinux.org>
+
+pkgname=qoauth
+pkgver=1.0.1
+pkgrel=3
+pkgdesc="Support with OAuth-powered network services"
+url='http://github.com/ayoy/qoauth'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('qca')
+makedepends=('cmake' 'automoc4')
+source=("http://files.ayoy.net/qoauth/release/current/src/${pkgname}-${pkgver}-src.tar.bz2")
+md5sums=('bcb6d01e6c9a6fb22099c9e0f5889578')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}-src"
+
+ # Install libraries in /usr/lib/
+ sed -i 's|lib64|lib|' src/src.pro
+
+ qmake
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}-src"
+ make INSTALL_ROOT="${pkgdir}" install
+}