blob: 7728efb6e2fa1bbe446fda5c5756569616f56fbb (
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
|
# Maintainer: Solomon Choina <shlomochoina@gmail.com>
pkgname=wayfire-git
pkgver=r631.8680e3c
pkgrel=1
pkgdesc="3D wayland compositor"
arch=('x86_64')
url="https://github.com/ammen99/wayfire"
license=('MIT')
depends=('wlroots-git' 'cairo' 'glm' 'libjpeg' 'gtk3' 'wf-config-git')
makedepends=('git' 'meson' 'ninja' 'wayland-protocols' )
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
options=()
source=('git+https://github.com/ammen99/wayfire')
sha256sums=('SKIP')
prepare() {
cd "$srcdir/wayfire"
git submodule update --init --recursive
}
pkgver() {
cd "$srcdir/wayfire"
# Git, no tags available
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/wayfire/"
arch-meson build
ninja -C build
}
package() {
cd "$srcdir/wayfire"
DESTDIR="$pkgdir/" ninja -C build install
cp wayfire.ini.default $pkgdir/usr/share
}
|