summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8e7337e94e5a1f0d783d3d12317b8a8ed25a3b7a (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
# Maintainer: Your Name <ahoyiski@gmail.com>
pkgname=wayfire-firedecor-git
pkgver=1.14.b4a4029
pkgrel=1
pkgdesc="An advanced window decoration plugin for the wayfire window manager."
arch=('any')
url="https://github.com/AhoyISki/wayfire-firedecor.git"
license=('MIT')
depends=('wayfire-git' 'librsvg-2.0')
makedepends=('git' 'meson' 'ninja')
provides=('wayfire-firedecor-git' 'wayfire-firedecor')
source=('git+https://github.com/AhoyISki/wayfire-firedecor.git')
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/wayfire-firedecor"
    printf "1.%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "$srcdir/wayfire-firedecor"
	meson build
	meson compile -C build
}

package() {
    cd "$srcdir/wayfire-firedecor"
	sudo meson install -C build
}