summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ecf1e4c2c8eeda4059201fabac7e5e62e40e3686 (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
28
29
30
31
32
33
34
# Maintainer: Radu Bîrzu <radu@webative.net>

pkgname=dracula-openbox-theme
_pkgname=Dracula
pkgver=r11.b322250
pkgrel=1
pkgdesc="A dark theme for Openbox WM based on the Dracula color scheme. It is compatible with the Ant-Dracula GTK and KDE themes."
arch=("any")
url="https://github.com/the-zero885/dracula-Openbox"
license=('GPL')
optdepends=('ttf-roboto: primary font face defined'
	'ttf-ubuntu-font-family: secondary font face defined'
	'cantarell-fonts: tertiary font face defined')
source=("${_pkgname}::git+https://github.com/the-zero885/dracula-Openbox.git")
sha256sums=('SKIP')

pkgver() {
	cd "${srcdir}/${_pkgname}"

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

build() {
	cd "${srcdir}/${_pkgname}"
	msg2 "To activate the theme, run \"obmenu\" in terminal:"
}

package() {
	cd "${srcdir}/${_pkgname}"

	mkdir -p "${pkgdir}/usr/share/themes/${_pkgname}"
	cp -a "${srcdir}/${_pkgname}/Dracula" "${pkgdir}/usr/share/themes/"
	cp -a "${srcdir}/${_pkgname}/Dracula-withoutBorder" "${pkgdir}/usr/share/themes/"
}