blob: 509fa7605611d90980e3bd6910b5a3753846ec1a (
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: Mark Wagie <mark dot wagie at proton dot me>
# Contributor: ELmoussaoui Bilal <bil dot elmoussaoui at gmail.com>
pkgname=nautilus-folder-icons
pkgver=3.0.1
pkgrel=4
pkgdesc="Nautilus extension that makes changing folders icons easy!"
arch=('any')
url="https://github.com/bilelmoussaoui/nautilus-folder-icons"
license=('GPL-3.0-or-later')
depends=('gtk3' 'python-nautilus<4.0')
makedepends=('git' 'meson')
checkdepends=('appstream-glib' 'libcanberra')
conflicts=('nautilus-ext-git' 'nautilus-compare')
# See https://github.com/bilelmoussaoui/nautilus-folder-icons/issues/34
_commit=b0ae536292177cbdb8c26d8fdb4981959aee3ab4 # v3.0.1
source=("git+https://github.com/bilelmoussaoui/nautilus-folder-icons.git#commit=$_commit")
sha256sums=('SKIP')
prepare() {
cd "$srcdir/$pkgname"
# Fix for 'Function does not take positional arguments'
sed -e '3d' -i data/meson.build
}
build() {
arch-meson build "$pkgname" -Dfile_manager=nautilus
meson compile -C build
}
check() {
export NO_AT_BRIDGE=1
meson test -C build --print-errorlogs || :
}
package() {
meson install -C build --destdir "$pkgdir"
}
|