summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancoism902021-05-20 14:19:21 +0200
committerfrancoism902021-05-20 14:19:21 +0200
commit7eef1e7766f04994260884427efd023c1f12f726 (patch)
treec9f67dc3181c13d092c25d9296867a088a331094
parent8debf5bf5b4cef1f6b65c0174377f94c609073d6 (diff)
downloadaur-7eef1e7766f04994260884427efd023c1f12f726.tar.gz
Update PKG
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD33
2 files changed, 20 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1eafdba234e..9a97b8d0af5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = matcha-gtk-theme-git
pkgdesc = A flat design theme for GTK3, GTK2, and Gnome-Shell.
- pkgver = r249.7f76285
+ pkgver = 2021.05.20.r0.gd622941
pkgrel = 1
url = https://vinceliuice.github.io/theme-matcha
arch = any
@@ -8,11 +8,9 @@ pkgbase = matcha-gtk-theme-git
makedepends = git
depends = gtk-engine-murrine
depends = gtk-engines
- depends = gtk3
- provides = matcha-gtk-theme-git
- conflicts = matcha-gtk-theme-git
+ provides = matcha-gtk-theme
conflicts = matcha-gtk-theme
- source = matcha-gtk-theme-git::git+https://github.com/vinceliuice/matcha.git
+ source = matcha-gtk-theme-git::git+https://github.com/vinceliuice/Matcha-gtk-theme.git
md5sums = SKIP
pkgname = matcha-gtk-theme-git
diff --git a/PKGBUILD b/PKGBUILD
index de7c9a72820..4ca29914b73 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,29 @@
-# Maintainer: Kibouo <csonka.mihaly@hotmail.com>
+# Maintainer: Francois Menning <f.menning at pm me>
+# Contributor: Kibouo <csonka.mihaly@hotmail.com>
+
pkgname=matcha-gtk-theme-git
-pkgver=r249.7f76285
+pkgver=2021.05.20.r0.gd622941
pkgrel=1
pkgdesc='A flat design theme for GTK3, GTK2, and Gnome-Shell.'
arch=('any')
url='https://vinceliuice.github.io/theme-matcha'
license=('GPL3')
-depends=('gtk-engine-murrine' 'gtk-engines' 'gtk3')
+depends=('gtk-engine-murrine' 'gtk-engines')
makedepends=('git')
-provides=("${pkgname}")
-conflicts=("${pkgname}" 'matcha-gtk-theme')
-source=("${pkgname}::git+https://github.com/vinceliuice/matcha.git")
+provides=('matcha-gtk-theme')
+conflicts=('matcha-gtk-theme')
+source=("$pkgname::git+https://github.com/vinceliuice/Matcha-gtk-theme.git")
md5sums=('SKIP')
+
pkgver() {
- cd "${pkgname}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd "$pkgname"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
+
package() {
- mkdir "${pkgdir}"/usr
- mkdir "${pkgdir}"/usr/share
- mkdir "${pkgdir}"/usr/share/themes
- cd "${pkgname}"
- _ORIGINAL_MATCHA_INSTALL_DIR=/usr/share/themes
- _NEW_MATCHA_INSTALL_DIR="${pkgdir}"/usr/share/themes
- sed -i 's|'${_ORIGINAL_MATCHA_INSTALL_DIR}'|'${_NEW_MATCHA_INSTALL_DIR}'|g' ./install.sh
- ./install.sh
+ cd "$pkgname"
+
+ mkdir -p "${pkgdir}/usr/share/themes"
+ ./install.sh \
+ --dest "${pkgdir}/usr/share/themes"
}