blob: 02711e49116163c5c62f83ff6d02df7ea310a6b0 (
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: Echo J. <aidas957 at gmail dot com>
# Contributor: Princeton Ferro (prince781) <princetonferro[at]gmail[dot]com>
# shellcheck shell=bash disable=SC2034,SC2164
_pkgname=cambalache
pkgname=cambalache-git
pkgver=0.91.3.r0.g4915f19
pkgrel=1
pkgdesc="A new RAD tool for Gtk 4 and 3 (Git version)"
url="https://gitlab.gnome.org/jpu/cambalache"
arch=('x86_64')
license=('LGPL-2.1-only')
depends=('cairo' 'dconf' 'gdk-pixbuf2' 'glib2' 'gtk3' 'gtk4' 'gtksourceview5'
'hicolor-icon-theme' 'libadwaita' 'libhandy' 'libxkbcommon' 'pango'
'pixman' 'python' 'python-gobject' 'python-lxml' 'wayland' 'webkit2gtk-4.1'
'webkitgtk-6.0' 'wlroots>=0.18.0')
makedepends=('git' 'gobject-introspection' 'meson' 'ninja')
conflicts=("${_pkgname}")
provides=("${_pkgname}=${pkgver}")
source=("git+${url}.git")
sha512sums=('SKIP')
prepare() {
# Use project's Casilda dependency
# (This is likely the best solution until other programs start to use it)
meson subprojects download casilda --source="${_pkgname}"
}
pkgver() {
cd "${_pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
arch-meson "${_pkgname}" build
meson compile -C build
}
package() {
meson install -C build --destdir "${pkgdir}"
}
|