blob: 9b24da860b2eb3bbbbd2616c62048505a53c28ad (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Maintainer: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
pkgname=liri-shell-git
pkgver=v0.9.0.r617.gb1cfe9c9
pkgrel=1
pkgdesc="QtQuick and Wayland based shell for convergence"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url='https://liri.io'
license=('GPL3')
depends=('qt5-tools' 'qt5-wayland' 'qt5-accountsservice-git' 'qt5-gsettings-git'
'polkit-qt5' 'solid' 'pam' 'pipewire' 'dconf' 'libliri-git' 'fluid-git'
'liri-qtintegration-git' 'aurora-compositor-git')
makedepends=('git' 'liri-cmake-shared-git' 'aurora-scanner-git')
options=(debug !strip)
conflicts=('hawaii-shell-git' 'papyros-shell-git' 'liri-workspace-git' 'liri-shell')
replaces=('hawaii-shell-git' 'papyros-shell-git' 'liri-workspace-git' 'liri-shell')
provides=('liri-shell')
groups=('liri-git')
_gitroot="git+https://github.com/lirios/shell.git"
_gitbranch=develop
_gitname=shell
source=(${_gitname}::${_gitroot}#branch=${_gitbranch})
md5sums=('SKIP')
pkgver() {
cd ${srcdir}/${_gitname}
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../${_gitname} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTING:BOOL=OFF \
-DINSTALL_SYSCONFDIR=/etc \
-DINSTALL_LIBDIR=/usr/lib \
-DINSTALL_LIBEXECDIR=/usr/lib \
-DINSTALL_QMLDIR=/usr/lib/qt/qml \
-DINSTALL_PLUGINSDIR=/usr/lib/qt/plugins
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
|