summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8c8dac684a1e0839df60765721a3e72735d97000 (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
39
# Maintainer: Charles Bos <charlesbos1 AT gmail>
# Contributor: Michael Wiencek <mwtuea at gmail dot com>

pkgname=echo-icon-theme-git
_gitname=echo-project
pkgver=r389.4007669
pkgrel=9
pkgdesc="The Echo icon theme from the Fedora project (development version)."
url="https://pagure.io/echo-project"
arch=('any')
license=('CCPL')
depends=('icon-naming-utils')
makedepends=('git')
optdepends=(
  'mist-icon-theme: for inheriting missing icons'
)
conflicts=('echo-icon-theme')
provides=('echo-icon-theme')
source=('git+https://pagure.io/echo-project.git')
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/${_gitname}"
  # Use number of revisions as the version itself is too long.
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "${srcdir}/${_gitname}/base"
  autoreconf -vfi
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${_gitname}/base"
  make prefix="${pkgdir}"/usr install
}