upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / libzdb / trunk / PKGBUILD
blob9629b0e7731e516e1334ff8c200072ab8fc5a0d2
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 pkgname=libzdb
4 pkgver=3.2.3
5 pkgrel=1
6 pkgdesc="Zild Database Library"
7 arch=('x86_64')
8 url="https://www.tildeslash.com/libzdb/"
9 license=('GPL')
10 depends=('postgresql-libs' 'sqlite' 'mariadb-libs')
11 source=(https://www.tildeslash.com/libzdb/dist/libzdb-$pkgver.tar.gz)
12 sha256sums=('a1957826fab7725484fc5b74780a6a7d0d8b7f5e2e54d26e106b399e0a86beb0')
14 prepare() {
15   cd "$srcdir/$pkgname-$pkgver"
16   sed -i '1,1i#include <cassert>' test/zdbpp.cpp
19 build() {
20   cd "$srcdir/$pkgname-$pkgver"
21   ./configure --prefix=/usr
22   make
25 package() {
26   cd "$srcdir/$pkgname-$pkgver"
27   make DESTDIR="$pkgdir/" install