summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 70e8c200c88ef69e828f4966b30b18bbd3c537ec (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
# Maintainer: Tony Lambiris <tony@libpcap.net>

pkgname=emerald-icon-theme-git
pkgver=2018.02.02.r18.ge2d3520
pkgrel=3
pkgdesc="Fresh and simple personality icon theme"
arch=('any')
url="https://github.com/vinceliuice/emerald-icon-theme"
license=('Custom')
source=("${pkgname}::git+https://github.com/vinceliuice/emerald-icon-theme")
makedepends=('git')
conflicts=('emerald-icon-theme')
provides=('emerald-icon-theme')
sha256sums=('SKIP')

pkgver() {
	cd "${srcdir}/${pkgname}"

	git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//g'
}

package() {
	cd "${srcdir}/${pkgname}"

	install -dm 755 "${pkgdir}/usr/share/icons"

	install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

	cp -a "${srcdir}/${pkgname}/Emerald" "${pkgdir}/usr/share/icons/Emerald"
}