24 lines
601 B
Bash
24 lines
601 B
Bash
# Maintainer: Yury Gubich <blue@macaw.me>
|
|
pkgname=lmdbal
|
|
pkgver=1.0.0
|
|
pkgrel=4
|
|
pkgdesc="LMDB Abstraction Layer"
|
|
arch=('i686' 'x86_64')
|
|
url="https://git.macaw.me/blue/lmdbal"
|
|
license=('GPL3')
|
|
depends=( 'lmdb' )
|
|
makedepends=('cmake>=3.16' 'gcc')
|
|
optdepends=()
|
|
|
|
source=("lmdbal-$pkgver-$pkgrel.tar.gz::https://git.macaw.me/blue/lmdbal/archive/$pkgver.tar.gz")
|
|
sha256sums=('SKIP')
|
|
build() {
|
|
cd "$srcdir/lmdbal"
|
|
cmake . -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release
|
|
cmake --build .
|
|
}
|
|
package() {
|
|
cd "$srcdir/lmdbal"
|
|
DESTDIR="$pkgdir/" cmake --install .
|
|
}
|