blob: b4c0d464809678c7ec3dc5453f1e32e53a2028c0 (
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
|
# Maintainer: Bruno Miguel <bruno@privacyrequired.com>
pkgname="relaxator-git"
_pkgname="relaxator"
pkgdesc="Relax to soothing sounds"
arch=(x86_64)
license=("GPL-3.0")
source=("git+https://github.com/alexkdeveloper/relaxator")
url="https://github.com/alexkdeveloper/relaxator"
pkgver=1.0.10.ac95f0a
pkgrel=1
depends=("gtk4" "libadwaita" "vala")
makedepends=("meson" "ninja" "git")
provides=($_pkgname)
md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)//;s/-/./g'
}
build() {
cd "$_pkgname"
meson build --prefix=/usr --buildtype=plain
ninja -C build
}
package() {
cd "$_pkgname"
meson install -C build --destdir "$pkgdir"
install -Dm755 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|