summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8143c0cc55b49e18362d6a6b1c201364f8a645be (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
# Maintainer: Librewish <librewish@gmail.com>

pkgname=wayfire-plugins-extra-git
pkgver=r71.a3412ee
pkgrel=1
pkgdesc="3D wayland compositor extra plugins"
arch=('any')
url="https://github.com/WayfireWM/wayfire-plugins-extra"
license=('MIT')
depends=('wayfire-git' 'glibmm' 'iio-sensor-proxy')
makedepends=('git' 'meson' 'ninja')
optdepends=('wcm: GTK3-based configuration tool for the Wayfire compositor')
provides=("${pkgname}" "wayfire-plugins-extra")
conflicts=("wayfire-plugins-extra")
replaces=()
options=()
source=('git+https://github.com/WayfireWM/wayfire-plugins-extra')
sha256sums=('SKIP')
install=wayfire-plugins-extra.install
prepare() {
  cd "$srcdir/wayfire-plugins-extra"
  git submodule update --init --recursive
}
pkgver() {
        cd "$srcdir/wayfire-plugins-extra"

# Git, no tags available
        printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

}

build() {
        cd "$srcdir/wayfire-plugins-extra/"
  rm -rf build
  arch-meson build
  ninja -C build
}


package() {
        cd "$srcdir/wayfire-plugins-extra"
        DESTDIR="$pkgdir/" ninja -C build install
}