summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1401f887f2f5de010455620f36f41d5aaf34bff2 (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
# Maintainer: fish4terrisa-MSDSM <flyingfish.msdsm@gmail.com>
pkgname=wayfire-firedecor-mntmn-git
pkgver=1.127.d4992ea
pkgrel=1
conflicts=('wayfire-firedecor-git')
pkgdesc="An advanced window decoration plugin for the wayfire window manager.Modified by mntmn to add newer wayfire API support."
arch=('any')
url="https://github.com/mntmn/wayfire-firedecor.git"
license=('MIT')
depends=('wayfire-git' 'librsvg' 'boost')
makedepends=('git' 'meson' 'ninja' 'cmake')
provides=('wayfire-firedecor-git' 'wayfire-firedecor')
source=('git+https://github.com/mntmn/Firedecor.git')
sha256sums=('SKIP')

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

build() {
    cd "$srcdir/Firedecor"
    	arch-meson . build
	meson compile -C build
}

package() {
    cd "$srcdir/Firedecor/build"
    	chmod +rwx "$srcdir/Firedecor/build/meson-logs/" 
	DESTDIR="${pkgdir}" meson install -C ../build 
}