diff options
author | Artem Vorotnikov | 2017-05-30 17:19:00 +0300 |
---|---|---|
committer | Artem Vorotnikov | 2017-05-30 17:19:00 +0300 |
commit | 927470be59bce2a07dfbcbaa383bf8d5bfbcc462 (patch) | |
tree | 205a6cfa12b2831e04443ee40758c6044bed3519 | |
parent | 651cb030a255966cc90181ff75f2276340524299 (diff) | |
download | aur-927470be59bce2a07dfbcbaa383bf8d5bfbcc462.tar.gz |
Update
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 22 |
3 files changed, 24 insertions, 12 deletions
@@ -1,15 +1,16 @@ # Generated by mksrcinfo v8 -# Fri Dec 30 23:43:33 UTC 2016 +# Tue May 30 14:18:43 UTC 2017 pkgbase = boinc-app-api pkgdesc = API for communication with BOINC applcations. pkgver = 1.0 - pkgrel = 1 - url = https://github.com/boinc-next/boinc-app-api + pkgrel = 2 + url = https://github.com/volunode/boinc-app-api arch = i686 arch = x86_64 license = LGPL + makedepends = meson options = !staticlibs - source = git+https://github.com/boinc-next/boinc-app-api#tag=1.0 + source = git+https://github.com/volunode/boinc-app-api#tag=1.0 sha256sums = SKIP pkgname = boinc-app-api diff --git a/.gitignore b/.gitignore index e69de29bb2d1..26818eee7516 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,5 @@ +pkg +src +*.tar.xz + +boinc-app-api @@ -1,12 +1,13 @@ -_username=boinc-next +_username=volunode _reponame=boinc-app-api _pkgbase=boinc-app-api pkgname=${_pkgbase} pkgdesc="API for communication with BOINC applcations." pkgver=1.0 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url="https://github.com/$_username/${_reponame/}" +makedepends=('meson') license=('LGPL') options=('!staticlibs') _ref="#tag=${pkgver}" @@ -14,15 +15,20 @@ source=("git+https://github.com/${_username}/${_reponame}${_ref}") sha256sums=('SKIP') build() { - cd ${srcdir}/${_reponame} + if [ ! -d ${srcdir}/build ]; then + mkdir -p ${srcdir}/build + cd ${srcdir}/${_reponame} + meson --prefix=/usr --buildtype=release ${srcdir}/build + cd .. + fi - autoreconf -i - ./configure --prefix=/usr - make + cd ${srcdir}/build + + ninja } package() { - cd ${_reponame} + cd ${srcdir}/build - make DESTDIR="${pkgdir}" install + DESTDIR="${pkgdir}" ninja install } |