summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0d1b3d885628392cde444e8178e72f2a53886e5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Mazhar Hussain <realmazharhussain@gmail.com>
pkgname=adw-gtk-theme
pkgver=1.1
pkgrel=2
pkgdesc="LibAdwaita Theme for all GTK3 and GTK4 Apps. NOTE: This is a meta package which uses adw-gtk3 for GTK3 and official LibAdwaita theme for GTK4"
arch=(any)
depends=(libadwaita adw-gtk3)
install=$pkgname.install
source=(extract-libadwaita-theme.{hook,sh} index.theme.{light,dark})
md5sums=(
   '328eb9f69bf98566a5c4d55e0fdff3c3'
   'c65c89f2a735b088ed599853f53074bd'
   '16ace27d8e4e79f3d1ba92c1a2c071ad'
   '895d966bc68af8df0b9c0c85d8b29335'
   )

package() {
   local libalpmdir="$pkgdir"/usr/share/libalpm
   install -Dm644 {"$srcdir","$libalpmdir/hooks"}/extract-libadwaita-theme.hook
   install -Dm755 {"$srcdir","$libalpmdir/scripts"}/extract-libadwaita-theme.sh
   install -Dm644 "$srcdir"/index.theme.light "$pkgdir"/usr/share/themes/Adw/index.theme
   install -Dm644 "$srcdir"/index.theme.dark "$pkgdir"/usr/share/themes/Adw-dark/index.theme
}