night-theme-switcher/PKGBUILD

38 lines
924 B
Bash

# Maintainer: Christian Schendel <doppelhelix@gmail.com>
pkgname=night-theme-switcher
pkgver=0.0.05
pkgrel=1
pkgdesc='Wrapper script to switch between dark and light themes.'
arch=(any)
url='https://repo.doppelhelix.net/doppelhelix/night-theme-switcher'
license=(
0BSD
)
makedepends=(
git
)
source=(
"${pkgname}-${pkgver}::git+${url}.git#tag=${pkgver}?signed"
)
b2sums=('7de30d8a1b2a280cf9d7932c9db90bd514c52bb7dcb09f6de98e2e6c0037e125f9fcfe6be46cb02b9b4d46cafd28989b1c781112d49bfca06c4855fd65482e26')
validpgpkeys=(
'47D15FC0F6AD8433CD06B4DF5874D2437CD5BBB3' # Christian Schendel <doppelhelix@gmail.com>
)
build() {
cd "$pkgname-$pkgver"
make
}
package() {
depends+=(
bash
breeze
breeze-gtk
libnotify
qt6ct-kde
)
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}