2023-03-22 16:30:41 +00:00
|
|
|
# Maintainer: Yury Gubich <blue@macaw.me>
|
|
|
|
pkgname=lmdbal
|
2023-08-20 14:56:39 +00:00
|
|
|
pkgver=0.5.0
|
2023-03-22 16:30:41 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="LMDB Abstraction Layer, qt5 version"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="https://git.macaw.me/blue/lmdbal"
|
|
|
|
license=('GPL3')
|
|
|
|
depends=( 'lmdb' 'qt5-base')
|
2023-08-20 14:56:39 +00:00
|
|
|
makedepends=('cmake>=3.16' 'gcc')
|
2023-03-22 16:30:41 +00:00
|
|
|
optdepends=()
|
|
|
|
|
2023-03-28 20:45:35 +00:00
|
|
|
source=("$pkgname-$pkgver.tar.gz::https://git.macaw.me/blue/lmdbal/archive/$pkgver.tar.gz")
|
2023-04-14 14:44:46 +00:00
|
|
|
sha256sums=('df1a9687d81d609d160754285f2613d7e07fc6deb781d0fb0084e4857ea82e95')
|
2023-03-22 16:30:41 +00:00
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname"
|
|
|
|
cmake . -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release -D QT_VERSION_MAJOR=5
|
|
|
|
cmake --build .
|
|
|
|
}
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname"
|
2023-04-14 14:44:46 +00:00
|
|
|
DESTDIR="$pkgdir/" cmake --install .
|
2023-03-22 16:30:41 +00:00
|
|
|
}
|