diff options
Diffstat (limited to 'community/qoauth/PKGBUILD')
-rw-r--r-- | community/qoauth/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/qoauth/PKGBUILD b/community/qoauth/PKGBUILD new file mode 100644 index 000000000..ea7a724ec --- /dev/null +++ b/community/qoauth/PKGBUILD @@ -0,0 +1,30 @@ +# $Id $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=qoauth +pkgver=1.0.1 +pkgrel=1 +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 + qmake + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver}-src + make INSTALL_ROOT=${pkgdir} install + + # Move libraries from /usr/lib64 to /usr/lib + if [ -d ${pkgdir}/usr/lib64 ]; then + mv ${pkgdir}/usr/lib64 ${pkgdir}/usr/lib + fi +} |