diff options
author | Andrea Scarpino | 2015-08-05 18:51:55 +0200 |
---|---|---|
committer | Andrea Scarpino | 2015-08-05 18:51:55 +0200 |
commit | b677067d509a1197dfe5fc00c1d932654b79bd69 (patch) | |
tree | 87f1c9a6de745115ceb892b9798de66ea7baf858 /PKGBUILD | |
download | aur-qoauth-git.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7bbd4ceb1a94 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Cesar Alcalde <lambda512 _at_ gmail.com> + +pkgname=qoauth-git +pkgver=v1.0.30.g02fbc13 +pkgrel=1 +pkgdesc='A Qt-based C++ library for OAuth authorization scheme' +arch=('i686' 'x86_64') +url='https://github.com/ayoy/qoauth' +license=('LGPL3') +depends=('qca-qt5') +makedepends=('git') +provides=('qoauth') +conflicts=('qoauth') +source=("git://github.com/ayoy/qoauth.git" + 'fix_lib_64.patch') +md5sums=('SKIP' + '75d2e129f4a8b8994b48699d71e170b4') + +pkgver() { + cd qoauth + local ver="$(git describe --long)" + printf "%s" "${ver//-/.}" +} + +prepare() { + cd qoauth + patch -p1 -i "${srcdir}"/fix_lib_64.patch +} + +build () { + cd qoauth + qmake + make +} + +package() { + cd qoauth + make INSTALL_ROOT="${pkgdir}" install +} |