initial import
This commit is contained in:
28
materia-gtk-theme/PKGBUILD
Normal file
28
materia-gtk-theme/PKGBUILD
Normal file
@@ -0,0 +1,28 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=materia-gtk-theme
|
||||
_pkgbasename=materia-theme
|
||||
pkgver=20210322
|
||||
pkgrel=1
|
||||
pkgdesc="A Material Design theme for GTK+ based environments"
|
||||
arch=('any')
|
||||
url='https://github.com/nana-4/materia-theme'
|
||||
license=('GPL-2')
|
||||
depends=('gtk')
|
||||
makedepends=('meson' 'sassc')
|
||||
source=("https://github.com/nana-4/materia-theme/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
||||
sha512sums=('c384a1afd5cf72f7ccfc0d1af8fd7efbe66027aa6e293899d57e46d8e572822ec6070785e957b07464cf0b3b73a302b9344920af361a9e8ab582565b7cedba71')
|
||||
|
||||
build() {
|
||||
hyperbola-meson ${pkgname/gtk-/}-${pkgver} build
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install -C build
|
||||
install -Dm644 "$srcdir/$_pkgbasename-$pkgver/COPYING" -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
|
||||
# remove unwanted / unsupported data
|
||||
rm -rf "$pkgdir/usr/share/themes/"Materia{,-compact,-dark,-dark-compact,-light,-light-compact}/{chrome,cinnamon,gnome-shell,gtk-4.0,metacity-1,plank,unity,xfwm4}
|
||||
rm -rf "$pkgdir/usr/share/themes/"Materia{,-compact,-dark,-dark-compact,-light,-light-compact}/INSTALL_GDM_THEME.md
|
||||
}
|
||||
Reference in New Issue
Block a user