2023-03-22 16:30:41 +00:00
|
|
|
# Maintainer: Yury Gubich <blue@macaw.me>
|
|
|
|
pkgname=lmdbal
|
2024-10-28 12:11:30 +00:00
|
|
|
pkgver=1.0.0
|
2024-12-13 18:27:47 +00:00
|
|
|
pkgrel=4
|
2024-10-28 12:11:30 +00:00
|
|
|
pkgdesc="LMDB Abstraction Layer"
|
2023-03-22 16:30:41 +00:00
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="https://git.macaw.me/blue/lmdbal"
|
|
|
|
license=('GPL3')
|
2024-10-28 12:11:30 +00:00
|
|
|
depends=( 'lmdb' )
|
2023-08-20 14:56:39 +00:00
|
|
|
makedepends=('cmake>=3.16' 'gcc')
|
2023-03-22 16:30:41 +00:00
|
|
|
optdepends=()
|
|
|
|
|
2024-12-03 17:36:07 +00:00
|
|
|
source=("lmdbal-$pkgver.tar.gz::https://git.macaw.me/blue/lmdbal/archive/$pkgver.tar.gz")
|
2023-10-17 21:06:11 +00:00
|
|
|
sha256sums=('SKIP')
|
2023-03-22 16:30:41 +00:00
|
|
|
build() {
|
2024-12-03 17:36:07 +00:00
|
|
|
cd "$srcdir/lmdbal"
|
2024-11-30 17:30:19 +00:00
|
|
|
cmake . -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release
|
2023-03-22 16:30:41 +00:00
|
|
|
cmake --build .
|
|
|
|
}
|
|
|
|
package() {
|
2024-12-03 17:36:07 +00:00
|
|
|
cd "$srcdir/lmdbal"
|
2023-04-14 14:44:46 +00:00
|
|
|
DESTDIR="$pkgdir/" cmake --install .
|
2023-03-22 16:30:41 +00:00
|
|
|
}
|