blob: 6591fe13fdd8cdf15a1d3a3d988a606126c4f478 (
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: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=hicolor-icon-theme-git
pkgver=0.18.r2.gf83ba10
pkgrel=1
pkgdesc="Freedesktop.org Hicolor icon theme"
arch=('any')
url="https://www.freedesktop.org/wiki/Software/icon-theme/"
license=('GPL-2.0-or-later')
makedepends=('git' 'meson')
provides=("hicolor-icon-theme=$pkgver")
conflicts=('hicolor-icon-theme')
source=("git+https://gitlab.freedesktop.org/xdg/default-icon-theme")
sha256sums=('SKIP')
pkgver() {
cd "default-icon-theme"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "default-icon-theme"
meson setup \
--buildtype=plain \
--prefix="/usr" \
"_build"
meson compile -C "_build"
}
check() {
cd "default-icon-theme"
#meson test -C "_build"
}
package() {
cd "default-icon-theme"
meson install -C "_build" --destdir "$pkgdir"
}
|