blob: e91100ee5156bc5e1e3de9d2559c52c1bb05cead (
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
|
# Maintainer: willemw <willemw12@gmail.com>
pkgname=gnofract4d-git
pkgver=4.3.r197.g4202edc
pkgrel=1
pkgdesc='Create beautiful fractal images'
arch=(any)
url=https://fract4d.github.io/gnofract4d
license=(BSD)
depends=(gtk4 python-cairo python-gobject)
makedepends=(git meson)
optdepends=('ffmpeg: to create videos')
checkdepends=(python-pytest)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+https://github.com/fract4d/gnofract4d.git")
sha256sums=('SKIP')
pkgver() {
git -C $pkgname describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $pkgname
#arch-meson _build
meson setup --prefix=/usr --buildtype=plain _build
meson compile -C _build
}
check() {
cd $pkgname
./test.py
}
package() {
cd $pkgname
install -Dm644 doc/${pkgname%-git}.1 -t "$pkgdir/usr/share/man/man1"
meson install -C _build --destdir "$pkgdir"
}
|