summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fe4c3ffce826b69e0d10104fdc56ca0ef3cefd0d (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
# Maintainer Jocelyn Thode <jocelyn.thode@gmail.com>
pkgname=spicetify-theme-dracula-git
_pkgname=Dracula-Spicetify
pkgver=r19.g97bf149
pkgrel=1
pkgdesc="Dracula theme for Spotify through spicetify-cli"
arch=('any')
url="https://github.com/Darkempire78/Dracula-Spicetify"
license=('custom')
depends=(spicetify-cli)
source=("git+https://github.com/Darkempire78/Dracula-Spicetify.git")
sha256sums=('SKIP')

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

package() {
  cd "${srcdir}/${_pkgname}"
  mkdir -p "${pkgdir}/usr/share/spicetify-cli/Themes/Dracula"
	cp -r ${srcdir}/${_pkgname}/Dracula/* "${pkgdir}/usr/share/spicetify-cli/Themes/Dracula/"
}