blob: a1c5091da91ff32aa017b470017c837cb6ce3c47 (
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
35
36
37
|
# Maintainer: Andrea Denisse Gómez-Martínez <denisse at archlinux dot org>
pkgname=dracula-gtk-theme-git
_pkgname=${pkgname%-git}
_install_name=Dracula
_branch=master
pkgver=r158.dcd159f
pkgrel=1
pkgdesc='Dark theme for GTK'
arch=('any')
url='https://github.com/dracula/gtk'
license=('GPL')
makedepends=(git)
optdepends=('gtk-engine-murrine: GTK2 theme support'
'ttf-roboto: primary font face defined'
'ttf-ubuntu-font-family: secondary font face defined'
'cantarell-fonts: tertiary font face defined')
source=("$_pkgname::git+$url.git#branch=$_branch")
sha256sums=('SKIP')
provides=($_pkgname)
conflicts=($_pkgname)
pkgver() {
cd "$_pkgname"
( set -o pipefail
git describe --long 2>/dev/null | \
sed's/\([^-]*-g\)/r\1/;s/-/./g' || \
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
package() {
cd "${srcdir}/${_pkgname}"
mkdir -p "${pkgdir}/usr/share/themes/${_install_name}"
cp -a "${srcdir}/${_pkgname}/"* "${pkgdir}/usr/share/themes/${_install_name}/"
}
|