Skip to content

Instantly share code, notes, and snippets.

@dfunke dfunke/PKGBUILD Secret
Created Apr 17, 2015

Embed
What would you like to do?
Updated libtcejdb PKGBUILD
# Maintainer: Karol "Kenji Takahashi" Woźniak <kenji.sx>
# Contributor: Mariusz Szczepańczyk <mszczepanczyk@gmail.com>
# Contributor: Daniel Funke <mr.daniel.funke@gmail.com>
pkgname=libtcejdb
pkgver=1.2.6
pkgrel=1
pkgdesc="Embedded JSON Database engine"
arch=('i686' 'x86_64')
url="http://ejdb.org"
license=('LGPL')
depends=('zlib')
source=("https://github.com/Softmotions/ejdb/archive/v${pkgver}.tar.gz")
md5sums=('8005852039df52b2cd3836c238c82e3f')
build() {
cd "${srcdir}/ejdb-${pkgver}"
mkdir -p build
cd build
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SAMPLES=OFF \
-DPACKAGE_TGZ=OFF \
../
make
}
package() {
cd "${srcdir}/ejdb-${pkgver}/build"
make DESTDIR="${pkgdir}" install
mv "${pkgdir}/usr/lib64" "${pkgdir}/usr/lib"
}
# vim:set ts=4 sw=4 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.