summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a415fd2b2dc6fe3c65621fff03a408a80e6c0b4 (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
# Maintainer: Dušan Simić <dusan.simic1810@gmail.com>

pkgname=custom-adwaita-folder-icons-git
pkgver=r33.d3ea429
_branch=gnome-3
pkgrel=1
pkgdesc='Custom Adwaita folder icons to help organize directories'
arch=(any)
url=https://github.com/CleoMenezes/Custom-Adwaita-Folder-Icons
license=(unknown)
makedepends=(git)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("icons::git+$url.git#branch=$_branch")
md5sums=(SKIP)

pkgver() {
	cd "$srcdir/icons"

# Git, no tags available
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd "$srcdir/icons"
	rm -r {Screenshots,README.md}

	_iconsdir="$pkgdir/usr/share/icons/CustomAdwaitaFolderIcons"

	install -d "$_iconsdir"
	cp -r . "$_iconsdir"
}