blob: 6a1054b6c258559cf904186dfd7d3cbf94fb22e0 (
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
|
# Maintainer: kotontrion <kotontrion@tutanota.de>
pkgbase=libastal-git
pkgname=("libastal-git")
_pkgname=libastal
pkgver=r540.c5eba25
pkgrel=2
pkgdesc="Building blocks for building desktop shells."
arch=("x86_64")
license=(LGPL-2.1-only)
url="https://github.com/Aylur/astal"
makedepends=(
"git"
"wayland" "wayland-protocols"
"gobject-introspection" "meson" "vala")
depends=("glib2" "glibc" "gtk3" "gtk-layer-shell" "gdk-pixbuf2" "wayland" "libastal-io")
provides=(libastal libastal.so=3-64)
groups=("libastal")
source=("git+${url}.git")
sha256sums=("SKIP")
_rockname=astal-dev-1.rockspec
pkgver(){
cd astal
# git describe --long --tags --abbrev=7 | sed "s/^v//;s/\([^-]*-g\)/r\1/;s/-/./g"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd astal/lib/astal/gtk3
arch-meson build
meson compile -C build
}
package() {
cd astal/lib/astal/gtk3
meson install -C build --destdir "$pkgdir"
}
|