summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a6bbe3f2b6159a2b6bb0ececf2ae70b507a80fb9 (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
# Maintainer: Thomas Letan <lthms@soap.coffee>

# Note about Make and parallelism:
# We disable Make parallelism with -j1 because it looks like enabling it
# does not play well with Dune.

pkgname=spatial-shell
pkgver=7
pkgrel=1
pkgdesc='Implementing a spatial model inspired by Material Shell, for i3 and sway.'
url=https://github.com/lthms/spatial-shell
license=('MPL2')
arch=('x86_64')
optdepends=(
  'sway'
  'i3-wm'
  'waybar'
)
makedepends=(
  'opam'
  'scdoc'
  'ocaml-ezjsonm-encoding'
  'ocaml-poll'
  'ocaml-cmdliner'
)
source=(
  "$pkgname-$pkgver.tbz::https://github.com/lthms/spatial-shell/releases/download/$pkgver/spatial-shell-$pkgver.tbz"
)
sha512sums=(
  '4e433ee1c1d8a7ec6bb548e356452d04e5add32a8ecad0f15c221f48337d0136adebdd983266260a5626542220cb7ef1c5f1991199a79c7ada03a44f15f39199'
)

build() {
  cd "${srcdir}/$pkgname-${pkgver}"
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  mkdir -p "$pkgdir/usr/bin"
  make DESTDIR="$pkgdir/usr" install
}