summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d42b4d7f970f3fb8ea253c61f77c377d6ab7ecb (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
40
41
42
#Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgdesc="Icons for the X Desktop Environment (XDE)"
pkgname=xde-icons-git
_pkgname=xde-icons
pkgver=1.6.r1.g5aa72fa
pkgrel=1
arch=('any')
license=(CCPL:by-sa)
url="http://github.com/bbidulock/xde-icons"
groups=('xde')
provides=("${_pkgname}=${pkgver%%.r*}-${pkgrel}")
conflicts=("${_pkgname}" 'ayatana-indicator-session')
depends=('hicolor-icon-theme' 'mist-icon-theme')
makedepends=('librsvg' 'git')
source=("$pkgname::git://github.com/bbidulock/$_pkgname.git")
md5sums=('SKIP')

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

prepare() {
  cd $pkgname
  ./autogen.sh
}

build() {
 cd $pkgname
  ./configure
  make
}

package() {
  cd $pkgname
  make DESTDIR="$pkgdir" install
  rm -f "$pkgdir/usr/share/icons/hicolor/32x32/apps/arch-logo.png"
  rm -f "$pkgdir/usr/share/icons/hicolor/scalable/apps/arch-logo.svg"
  rm -f "$pkgdir/usr/share/pixmaps/arch-logo.svg"
}

# vim: et sw=2: