summaryrefslogtreecommitdiff
path: root/pcr/libqb/PKGBUILD
blob: 4fd891ca49b9dc6462b586aa613f40fe68901d95 (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
# Mainteinar: fauno <fauno@parabola.nu>
# Maintainer (arch):  Marcin Wieczorek <marcin@marcin.co>
# Contributor: ovi chis <ovi@ovios.org>

pkgname=libqb
pkgver=1.0.2
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")
options=(!libtool)
url="https://github.com/ClusterLabs/${pkgname}"
source=("https://github.com/ClusterLabs/libqb/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc})
sha512sums=('5f852d2abc8062ec9314b0fe163ca008a7c0780aded387a77fd7d8b0a7ff3237e0ff1f90c3e8f447a7e31604dea33d6d26901e701d5d149d932dfb8d75db7756'
            'SKIP')

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: