blob: b87454b5a14312e9592d92e9d3ee66d3586e6cf2 (
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
|
# Maintainer: Sebastian Krzyszkowiak <dos@dosowisko.net>
pkgname=phoc-git
pkgver=r161.d81666f
pkgrel=1
pkgdesc="Wayland compositor for phones"
url="https://source.puri.sm/Librem5/phoc"
license=("GPL3")
arch=(i686 x86_64 armv6h armv7h)
depends=('glib2' 'wlroots')
makedepends=('meson' 'ninja' 'git' 'wayland-protocols' 'ctags')
provides=(phoc)
conflicts=(phoc)
source=("git+https://source.puri.sm/Librem5/phoc.git")
sha256sums=("SKIP")
pkgver() {
cd phoc
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
arch-meson phoc build -Dembed-wlroots=disabled -Ddefault_library=shared
ninja -C build
}
check() {
ninja -C build test
}
package() {
DESTDIR="${pkgdir}" ninja -C build install
}
|