summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorantsa2021-03-27 09:28:51 +0100
committerantsa2021-03-27 09:28:51 +0100
commit9ce11e2c67f5c9cde4fe285798cd66f2f1e9a8af (patch)
treeed97cfdcbf4d8a4d05c2ba3c1252d45b3ba1af57
parent833b22f73ce6a50a2471edf490068ea6bee8bdff (diff)
downloadaur-9ce11e2c67f5c9cde4fe285798cd66f2f1e9a8af.tar.gz
use new meson build system
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 00f95a7809c..6b7f0acc0b4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = materia-theme-git
- pkgdesc = upstream git package for the Material Design-like flat theme for GTK3, GTK2, Metacity, and GNOME-Shell.
- pkgver = r1458.f85cac72
+ pkgdesc = upstream git package for the Material Design-like flat theme for GTK4, GTK3, GTK2, Metacity, and GNOME-Shell.
+ pkgver = r1609.79b71a42
pkgrel = 1
url = https://github.com/nana-4/materia-theme
arch = any
license = GPL
makedepends = git
makedepends = sassc
+ makedepends = meson>=0.47.0
depends = gtk3>=3.22
depends = gtk-engine-murrine
depends = gnome-themes-extra
@@ -16,4 +17,3 @@ pkgbase = materia-theme-git
sha256sums = SKIP
pkgname = materia-theme-git
-
diff --git a/PKGBUILD b/PKGBUILD
index 0b9ed243087..39d7f296d28 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
# Maintainer: antsa <asss1924 <plus> aur <at> gmail <dot> com>
# Contributor: cth451 <cth451@gmail.com>
pkgname=materia-theme-git
-pkgdesc="upstream git package for the Material Design-like flat theme for GTK3, GTK2, Metacity, and GNOME-Shell."
+pkgdesc="upstream git package for the Material Design-like flat theme for GTK4, GTK3, GTK2, Metacity, and GNOME-Shell."
arch=('any')
url="https://github.com/nana-4/materia-theme"
license=('GPL')
-makedepends=('git' 'sassc')
+makedepends=('git' 'sassc' 'meson>=0.47.0')
depends=('gtk3>=3.22' 'gtk-engine-murrine' 'gnome-themes-extra')
optdepends=()
provides=('materia-theme')
@@ -14,7 +14,7 @@ replaces=()
source=(${pkgname}::git+https://github.com/nana-4/materia-theme.git)
sha256sums=('SKIP')
-pkgver=r1458.f85cac72
+pkgver=r1609.79b71a42
pkgver() {
cd "$srcdir/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
@@ -24,6 +24,6 @@ pkgrel=1
package() {
cd "$srcdir/${pkgname}"
- mkdir -p "${pkgdir}/usr/share/themes"
- ./install.sh -d "${pkgdir}/usr/share/themes"
+ meson _build -Dprefix="${pkgdir}/usr"
+ meson install -C _build
}