summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a73488f7853df3167877d59a695c07c5ffaa4ca (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
pkgname=blanket-git
_pkgname=blanket
pkgver=0.5.0.r18.g3593315
pkgrel=1
pkgdesc="Improve focus and increase your productivity by listening to different sounds."
url="https://github.com/rafaelmardojai/blanket"
arch=('aarch64' 'armv6h' 'armv7h' 'i686' 'x86_64')
license=(GPL3)
depends=('gstreamer' 'gtk4' 'libadwaita' 'python' 'python-gobject')
makedepends=('git' 'meson')
provides=(${_pkgname})
conflicts=(${_pkgname})
source=("git+https://github.com/rafaelmardojai/blanket.git")
b2sums=('SKIP')

pkgver() {
  cd ${_pkgname}
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  arch-meson ${_pkgname} build
  ninja -C build
}

package() {
  DESTDIR="$pkgdir" meson install -C build
}