summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fde38b3e040ce36865178c9e440f0f01d3d6eb42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
_basename=xfce4-weather-mono-icons
pkgname=${_basename}-git
pkgver=0.r8.558c0a8
pkgrel=1
pkgdesc='mono-dark and mono-light icons for xfce4-weather-plugin'
arch=('any')
url="https://github.com/kevlar1818/${_basename}"
license=('GPLv2')
depends=('xfce4-weather-plugin')
makedepends=('git')
options=('!strip')
source=("git+https://github.com/kevlar1818/${_basename}.git")
md5sums=('SKIP')

pkgver() {
  cd "${srcdir}/${_basename}"
  echo "0.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

package() {
  mkdir -p "${pkgdir}/usr/share/xfce4/weather/icons"
  cp -dr --no-preserve='ownership' "${srcdir}/${_basename}/"{WSky,WSky-Light} "${pkgdir}/usr/share/xfce4/weather/icons"
}