mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-24 18:11:44 +01:00
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Contributor: August Klein <amatcoder@gmail.com>
|
|
# Maintainer: August Klein <amatcoder@gmail.com>
|
|
pkgname=keepassx
|
|
pkgver=2.0.3
|
|
pkgrel=0
|
|
pkgdesc="A password manager"
|
|
url="http://www.keepassx.org"
|
|
arch="all"
|
|
license="GPL-2.0"
|
|
makedepends="cmake qt-dev libxtst-dev libgcrypt-dev"
|
|
source="https://www.keepassx.org/releases/${pkgver}/${pkgname}-${pkgver}.tar.gz
|
|
musl-fixes.patch
|
|
"
|
|
builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
prepare() {
|
|
cd "$builddir"
|
|
mkdir build
|
|
default_prepare
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"/build
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
|
-DCMAKE_BUILD_TYPE=Release ..
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"/build
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"/build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="bf1a4ffa49fc4a6b7a27e6292981c9c13920712b4cd86759a99976f7e0593a243ea14575c57d664ba7e55d2449b5d83bc3d43a64a9a6972335e52234da79d773 keepassx-2.0.3.tar.gz
|
|
f393ce341eb6941bfb808369f076585536802284ab7ee6034a26284dc70bbf168f4a89dc676357334e30a527a5593cb1b20cabb4e699ae806ca9e229ac6cffdd musl-fixes.patch"
|