summaryrefslogtreecommitdiff
path: root/extra/qoauth/PKGBUILD
blob: de947b29e297ff067a887466e74fce3a4a70aa83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 179067 2013-03-02 22:33:09Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Peter Richard Lewis <plewis@aur.archlinux.org>

pkgname=qoauth
pkgver=1.0.1
pkgrel=4
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 ${pkgname}-${pkgver}-src

  # Install libraries in /usr/lib/
  sed -i 's|lib64|lib|' src/src.pro

  qmake-qt4
  make
}

package() {
  cd ${pkgname}-${pkgver}-src
  make INSTALL_ROOT="${pkgdir}" install
}