blob: 681914d10b9ab5ce022d3177a3264e37cf09d2f5 (
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
31
32
33
|
_username=volunode
_reponame=boinc-app-api
_pkgbase=boinc-app-api
pkgname=${_pkgbase}
pkgdesc="API for communication with BOINC applcations."
pkgver=1.0
pkgrel=2
arch=('i686' 'x86_64')
url="https://github.com/$_username/${_reponame/}"
makedepends=('meson')
license=('LGPL')
options=('!staticlibs')
_ref="#tag=${pkgver}"
source=("git+https://github.com/${_username}/${_reponame}${_ref}")
sha256sums=('SKIP')
build() {
if [ ! -d ${srcdir}/build ]; then
cd ${srcdir}/${_reponame}
meson --prefix=/usr --buildtype=release ${srcdir}/build
cd ..
fi
cd ${srcdir}/build
ninja
}
package() {
cd ${srcdir}/build
DESTDIR="${pkgdir}" ninja install
}
|