summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCrewmate2021-05-02 13:58:24 -0700
committerCrewmate2021-05-02 13:58:24 -0700
commitc3bec35abfe40c039a18bbb1b690f5fb5ea9d720 (patch)
treedccd59878f31b47b6dbe12ba74773c98e65db1c1
parentec02f40e765bf704bcbb537bdee4fbc5caab3d86 (diff)
downloadaur-c3bec35abfe40c039a18bbb1b690f5fb5ea9d720.tar.gz
pkgver and sha256 for the patch
-rw-r--r--PKGBUILD20
1 files changed, 13 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f4a06c18cd4..f6b24704507 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
# Maintainer Crewmate <sus@morshu.xyz>
+_pkgname=materia-theme-transparent
pkgname=materia-transparent-gtk-theme-git
-pkgver=85bdc29
-pkgrel=2
+pkgver=85bdc295
+pkgrel=3
pkgdesc="A Transparent Material Design theme for GNOME/GTK+ based desktop environments"
arch=(any)
license=(GPL)
@@ -12,22 +13,27 @@ provides=(materia-theme)
conflicts=(materia-theme)
replaces=(materia-theme)
source=(
- "git+https://github.com/ckissane/materia-theme-transparent#commit=85bdc29"
+ "${_pkgname}::git+https://github.com/ckissane/materia-theme-transparent"
remove-npm-install-from-meson-build.patch
)
-md5sums=(
- "SKIP"
+sha256sums=(
"SKIP"
+ "c74a6f934c58b50256fc09014ebd683b483800ddf8aade5e01f6f79d2832cc41"
)
+pkgver() {
+ cd "$srcdir/${_pkgname}"
+ git rev-parse --short HEAD
+}
+
prepare() {
- cd materia-theme-transparent
+ cd "$srcdir/${_pkgname}"
patch -Np1 < ${srcdir}/remove-npm-install-from-meson-build.patch
npm install --cache ${srcdir}/npm-cache
}
build() {
- arch-meson materia-theme-transparent build
+ arch-meson "$srcdir/${_pkgname}" build
meson compile -C build
}