blob: 46b31a82e2246c1156ff39900e2c3d68bdcd798d (
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
|
# Maintainer: Waseem Alkurdi <waseem19992009 at outlook com>
pkgname=swayfire-git
pkgver=r32.f364d51
pkgrel=1
epoch=
pkgdesc="Sway/I3 inspired tiling window manager for Wayfire."
arch=(x86_64)
url="https://github.com/Javyre/swayfire"
license=('GPL')
groups=()
depends=(meson wayfire wlroots wf-config)
makedepends=(git)
checkdepends=()
optdepends=()
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=
changelog=
source=("swayfire-git::git+https://github.com/Javyre/swayfire#branch=master")
noextract=()
md5sums=()
validpgpkeys=()
pkgver() {
cd "$srcdir/${pkgname%-VCS}"
( 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)"
)
}
build() {
cd "$srcdir/${pkgname%-VCS}"
meson setup --prefix /usr build
meson compile -C build
}
package() {
cd "$srcdir/${pkgname%-VCS}"
echo $pkgdir
DESTDIR="$pkgdir/" meson install -C build
}
md5sums=('SKIP')
|