blob: c4b16663cc683627fb943be565cfec443b0f08bc (
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
43
|
# 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.92.0.r33.g17000fc
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' 'wayland-protocols')
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 --sourcedir="${_pkgname}"
meson subprojects update casilda --sourcedir="${_pkgname}"
}
pkgver() {
cd "${_pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
arch-meson "${_pkgname}" build --reconfigure --force-fallback-for=casilda
meson compile -C build
}
package() {
meson install -C build --destdir "${pkgdir}"
}
|