summaryrefslogtreecommitdiff
path: root/pcr/libqb/PKGBUILD
blob: 45d3a5f4b14253ca3cd8890b7014236c35938c24 (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
35
36
37
38
# Maintainer: Márcio Silva <coadde@hyperbola.info>

pkgname=libqb
pkgver=0.14.4
pkgrel=3
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)
options=(!libtool)
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\
    --disable-fatal-warnings\
    --disable-static\
    --libdir=/usr/lib\
    --sbindir=/usr/bin
  setarch $CARCH make
}

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

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