summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5951e114173b259063d8e89da3fdd933b6d63226 (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
# 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=('icon-naming-utils' '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)
_themedir="usr/share/icons/${pkgname}"

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/ \;
}