blob: e89a89862c8856dd77207cecbd654a4aa5f56885 (
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: workonfire <kolucki62@gmail.com>
pkgname=gnome-dark-apps-git
pkgver=r4.7d002aa
pkgrel=1
pkgdesc="Per application dark theme on demand."
arch=('any')
url="https://github.com/workonfire/gnome-dark-apps"
license=('GPL')
depends=('xdotool')
conflicts=('gnome-dark-apps')
provides=('gnome-dark-apps')
source=("${pkgname}"::git+https://github.com/workonfire/gnome-dark-apps.git)
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
install -Dm755 "${srcdir}"/"${pkgname}"/theme.sh "${pkgdir}"/usr/bin/dark-theme-toggle
install -Dm644 "${srcdir}"/"${pkgname}"/app-list "${pkgdir}"/usr/share/gnome-dark-apps/app-list
install -Dm644 "${srcdir}"/"${pkgname}"/LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}
|