summaryrefslogtreecommitdiff
path: root/pcr/libqb/PKGBUILD
blob: eacdb6ea2cbe519cea8915b408ab82acc38de756 (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
34
# Maintainer: Márcio Silva <coadde@lavabit.com>

pkgname=libqb
pkgver=0.14.4
pkgrel=1
pkgdesc='Library with the primary purpose of providing high performance client server reusable features'
arch=(
  i686
  x86_64
  mips64el
)
makedepends=(
  doxygen
  splint
)
license=LGPL2.1
url=https://github.com/asalkeld/$pkgname/wiki
source=https://github.com/asalkeld/$pkgname/archive/v$pkgver.tar.gz
sha512sums=1377e38d5547eb516b255c0aa0972e858048053202692d7d5ef1c746d79dee2c78eddc29e797215376990f2c776b34261f765858606b59d77f9218fb0dac5977

build() {
  cd $srcdir/$pkgname-$pkgver
  setarch $CARCH ./autogen.sh
  setarch $CARCH ./configure --prefix=/usr\
    --libdir=/usr/lib
  setarch $CARCH make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  setarch $CARCH make DESTDIR=$pkgdir install
}

# vim:set ts=2 sw=2 et: