summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a1f9ffe2530ad834939e108af8aa42319ffcaef (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
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
# Contributor: ELmoussaoui Bilal <bil dot elmoussaoui at gmail.com>
pkgname=nemo-folder-icons
_gitname=nautilus-folder-icons
pkgver=3.0
pkgrel=6
pkgdesc='Nemo extension that makes changing folders icons easy!'
arch=('i686' 'x86_64')
license=('GPL3')
url="https://github.com/bilelmoussaoui/nautilus-folder-icons"
depends=('gobject-introspection' 'gtk3' 'nemo-python')
makedepends=('gnome-common' 'meson' 'appstream-glib')
conflicts=('nemo-ext-git')
            # See https://github.com/bilelmoussaoui/nautilus-folder-icons/issues/34
options=('!emptydirs')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('25fa6f164f50ed84ee6fa6d7a6004cb5190051847a5c3895f41bf1b426ad2565')

prepare() {
	cd "$_gitname-$pkgver"
	find . -type f -exec sed -i 's|#!/usr/bin/python2|#!/usr/bin/python|g' {} \;
}

build() {
	cd "$_gitname-$pkgver"
	arch-meson builddir -Dfile_manager=nemo
	ninja -C builddir
}

package() {
	cd "$_gitname-$pkgver"
	DESTDIR="$pkgdir" ninja -C builddir install
}