summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 31eda2447f73245489ae02ce8bddd3c78d553aba (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: ELmoussaoui Bilal <bil.elmoussaoui@gmail.com>

pkgname=arc-icon-theme-git
_gitname=arc-icon-theme
pkgver=20160605
pkgrel=1
pkgdesc='Arc icon theme. Latest commit from the master branch on Github.'
arch=(any)
url=https://github.com/horst3180/arc-icon-theme
license=('GPL3')
depends=('gtk-update-icon-cache')
makedepends=('git' 'automake')
optdepends=('moka-icon-theme-git: Arc icon theme was built to be used 
on top of Moka icon theme')
source=("git://github.com/horst3180/${_gitname}.git")
md5sums=('SKIP')
conflicts=('arc-icon-theme')

pkgver() {
	cd "${_gitname}"
	git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	cd "$srcdir/${_gitname}"
	./autogen.sh --prefix=/usr
	make
}

package() {
  	cd "${srcdir}/${_gitname}"
	make DESTDIR="$pkgdir" install
}