summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a43a73598b32d0655f7eb2d4042582e138241904 (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
_username=boinc-next
_reponame=boinc-app-api
_pkgbase=boinc-app-api
pkgname=${_pkgbase}
pkgdesc="API for communication with BOINC applcations."
pkgver=1.0
pkgrel=1
arch=('i686' 'x86_64')
url="https://github.com/$_username/${_reponame/}"
license=('LGPL')
options=('!staticlibs')
_ref="#tag=${pkgver}"
source=("git+https://github.com/${_username}/${_reponame}${_ref}")
sha256sums=('SKIP')

build() {
  cd ${srcdir}/${_reponame}

  autoreconf -i
  ./configure --prefix=/usr
  make
}

package() {
  cd ${_reponame}

  make DESTDIR="${pkgdir}" install
}