blob: 0bdb7b26114ac8f01c08ecab6a72185b65aa371f (
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
44
45
46
47
48
|
# Maintainer: Philip Goto <philip.goto@gmail.com>
pkgname=app-icon-preview-git
pkgver=3.1.0.r3.g6225c20
pkgrel=1
pkgdesc='Tool for designing applications icons'
arch=(x86_64 aarch64)
url='https://gitlab.gnome.org/World/design/app-icon-preview'
license=(GPL3)
depends=(libadwaita)
makedepends=(
git
meson
rust
)
provides=(app-icon-preview)
conflicts=(app-icon-preview)
source=(
"git+${url}.git"
"git+https://gitlab.gnome.org/Teams/Design/HIG-app-icons.git"
)
b2sums=('SKIP' 'SKIP')
prepare() {
cd app-icon-preview
git submodule init
git config 'submodule.hig.url' "${srcdir}/HIG-app-icons"
git submodule update
}
pkgver() {
cd app-icon-preview
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
arch-meson app-icon-preview build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
DESTDIR="${pkgdir}" meson install -C build
}
|