summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d3e7581e1b7ca3b1ac490f71b759dcdb25991f37 (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
# Maintainer: Rhys Perry <rhysperry111@gmail.com>

pkgname=pywal-discord-git
pkgver=r83.5ca587a
pkgrel=1
pkgdesc="A script that dynamically generates discord theme based on the current wal colorscheme"
arch=("any")
url="https://github.com/FilipLitwora/pywal-discord"
license=("GPL3")
conflicts=("pywal-discord")
provides=("pywal-discord")
source=("git+https://github.com/FilipLitwora/pywal-discord")
md5sums=("SKIP")

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

package() {
  cd "${pkgdir}"
  install -Dm755 "${srcdir}/pywal-discord/pywal-discord" usr/bin/pywal-discord
  mkdir -p usr/share/
  cp -r "${srcdir}/pywal-discord/config" usr/share/pywal-discord
}