archrelease: copy trunk to community-any
[ArchLinux/community.git] / lxqt-powermanagement / repos / community-x86_64 / PKGBUILD
blob5fd7e12d97d035fb11e81209be11b7af9d6c8cdb
1 # Maintainer: Jerome Leclanche <jerome@leclan.ch>
2 # Maintainer: Chih-Hsuan Yen <yan12125@archlinux.org>
4 pkgname=lxqt-powermanagement
5 pkgver=1.3.0
6 pkgrel=1
7 pkgdesc="LXQt power management daemon"
8 arch=("x86_64")
9 groups=("lxqt")
10 url="https://github.com/lxqt/$pkgname"
11 license=("LGPL2.1")
12 depends=("qt5-svg" "qt5-x11extras" "upower" "kidletime" "solid" "hicolor-icon-theme"
13          "libQt5Xdg.so" "lxqt-globalkeys")
14 makedepends=("cmake" "lxqt-build-tools")
15 source=(
16         "https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc}
18 sha256sums=('59a59f631148d0bf12541eaeed4db8a1fac02826ebf0b1bbc75fca0b0ae4a19d'
19             'SKIP')
20 validpgpkeys=(
21         "169704C6FB490C6892C7F23C37E0AF1FDA48F373"  # Jerome Leclanche <jerome@leclan.ch>
22         "7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3"  # Alf Gaida <agaida@siduction.org>
23         "19DFDF3A579BD509DBB572D8BE793007AD22DF7E"  # Pedram Pourang <tsujan2000@gmail.com>
27 build() {
28         mkdir -p build
29         cd build
30         cmake "$srcdir/$pkgname-$pkgver" \
31                 -DCMAKE_INSTALL_PREFIX=/usr
32         make
35 package() {
36         cd build
37         make DESTDIR="$pkgdir" install