summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4b7ad8cae85f57b4ca27e7da947b49d0a85f0580 (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
29
30
31
# Maintainer: chun-awa <chun-awa@outlook.com>
# Maintainer: Intro <intro-iu@outlook.com>
pkgname=lingmo-dock
arch=("x86_64")
depends=(
    "kwindowsystem5" "qt5-quickcontrols2" "qt5-x11extras" "qt5-tools"
    "lingmoui"
)
makedepends=("extra-cmake-modules")
pkgdesc="The dock component of LingmoOS, which relies on LingmoUI."
pkgrel=1
pkgver=2.0.2
url="https://lingmo.org"
license=("GPL")
source=("https://github.com/LingmoOS/${pkgname}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('3b07175e2f24c4579041dd30f725a39d8135a873c0b661405a9dde2fcdd395f3')

prepare() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    mkdir -p build
}

build() {
    cd "${srcdir}/${pkgname}-${pkgver}/build"
    cmake -DCMAKE_INSTALL_PREFIX=/usr ..
    make
}
package() {
     cd ${pkgname}-${pkgver}/build
     make DESTDIR="${pkgdir}" install
}