mirror of
https://github.com/mac-a-r0ni/lxqt.git
synced 2025-01-24 06:32:19 +01:00
29 lines
692 B
Plaintext
29 lines
692 B
Plaintext
# Description: create a kwallet like functionality for lxqt
|
|
# URL: https://github.com/lxqt/lxqt-wallet
|
|
# Maintainer: Jay Lanagan, j at lngn dot net
|
|
# Depends on: kwallet
|
|
# Optional: libsecret
|
|
|
|
name=lxqt-wallet
|
|
version=4.0.2
|
|
release=1
|
|
|
|
source=(https://github.com/lxqt/lxqt_wallet/releases/download/$version/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
prt-get isinst libsecret && PKGMK_LXWL+='-DNOSECRETSUPPORT=false ' || PKGMK_LXWL+='-DNOSECRETSUPPORT=true '
|
|
|
|
mkdir -p build
|
|
cd build
|
|
cmake "$SRC/$name-$version" $PKGMK_LXWL \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
|
-DCMAKE_BUILD_TYPE=RELEASE \
|
|
-Wno-dev
|
|
make
|
|
|
|
make DESTDIR="$PKG" install
|
|
|
|
rm -rf $PKG/usr/share/
|
|
}
|