summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3fe911b52671a3b1d0075eb27eae471c87548570 (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
# Maintainer: dobragab <dobragab@gmail.com>

pkgname='cinnxp-icon-theme-git'
pkgver=r13.8edf942
pkgrel=1
pkgdesc='Remake of classic YlmfOS theme with some mods for icons to scale right.'
arch=('any')
url='https://github.com/Elbullazul/WinXP-Icons'
depends=('gtk-update-icon-cache')
makedepends=('git')
provides=('cinnxp-icon-theme-git')
conflicts=('cinnxp-icon-theme-git')
source=("${pkgname}::git+https://github.com/Elbullazul/WinXP-Icons.git")
md5sums=(SKIP)
_themename="WinXP-Icons"
_themedir="usr/share/icons/${_themename}"

pkgver() {
  cd "${pkgname}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "${pkgname}"
  install -dm755 "$pkgdir/$_themedir"
  find * -type f -exec install -Dm644 {} $pkgdir/$_themedir/ \;
}