Skip to content

Instantly share code, notes, and snippets.

@bbidulock
Last active May 19, 2017 17:11
Show Gist options
  • Save bbidulock/c1e5e3b7cc72ece336e304aace0a2cd1 to your computer and use it in GitHub Desktop.
Save bbidulock/c1e5e3b7cc72ece336e304aace0a2cd1 to your computer and use it in GitHub Desktop.
PKGBUILD for libqb
# Maintainer: Marcin Wieczorek <marcin@marcin.co>
# Contributor: ovi chis <ovi@ovios.org>
pkgname=libqb
pkgver=1.0.2
pkgrel=2
pkgdesc='Library with the primary purpose of providing high performance client server reusable features'
arch=('i686' 'x86_64')
makedepends=('doxygen' 'splint')
depends=('glibc')
license=('LGPL2.1')
url="https://github.com/ClusterLabs/${pkgname}"
source=("https://github.com/ClusterLabs/libqb/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
sha512sums=('5f852d2abc8062ec9314b0fe163ca008a7c0780aded387a77fd7d8b0a7ff3237e0ff1f90c3e8f447a7e31604dea33d6d26901e701d5d149d932dfb8d75db7756')
build() {
cd ${pkgname}-${pkgver}
./configure \
--prefix=/usr \
--disable-fatal-warnings \
--disable-static \
--libdir=/usr/lib \
--sbindir=/usr/bin
make V=0
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
# vim: set et sw=2:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment