summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e150aa6480b8541a796860594d68d6a736ac0597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Ilya Zlobintsev <ilya.zl@protonmail.com>

pkgname=lightly-qt
pkgver=0.4.1
pkgrel=1
pkgdesc="A modern style for qt applications"
url="https://github.com/Luwx/Lightly"
arch=('x86_64' 'aarch64')
license=('GPL')
conflicts=('lightly-git')
makedepends=(cmake extra-cmake-modules kdecoration qt5-declarative qt5-x11extras kcoreaddons5 kguiaddons5 kconfigwidgets5 kwindowsystem5 kiconthemes5)
source=(
    "${pkgname}-${pkgver}::https://github.com/Luwx/Lightly/archive/v${pkgver}.tar.gz"
)
sha256sums=('a50a9e5796886853222d9b442974e1d659905bbad85ee5c7f536aa7f6fbf3261')

build() {
    cd Lightly-${pkgver}
    mkdir -p build && cd build
    cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_TESTING=OFF ..
    make
}

package() {
    cd Lightly-${pkgver}/build
    make DESTDIR=${pkgdir} install
    install -Dm644 ../COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}