[arch-commits] Commit in cinnamon/trunk (PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Sat Nov 13 22:36:06 UTC 2021


    Date: Saturday, November 13, 2021 @ 22:36:06
  Author: archange
Revision: 1046318

PKGBUILD linting

Modified:
  cinnamon/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-13 22:35:17 UTC (rev 1046317)
+++ PKGBUILD	2021-11-13 22:36:06 UTC (rev 1046318)
@@ -7,7 +7,7 @@
 
 pkgname=cinnamon
 pkgver=5.0.7
-pkgrel=1
+pkgrel=2
 pkgdesc="Linux desktop which provides advanced innovative features and a traditional user experience"
 arch=(x86_64)
 url="https://github.com/linuxmint/cinnamon"
@@ -62,22 +62,18 @@
   # Cinnamon has no upstream backgrounds, use GNOME backgrounds instead
   sed -i 's|/usr/share/cinnamon-background-properties|/usr/share/gnome-background-properties|' \
       files/usr/share/cinnamon/cinnamon-settings/modules/cs_backgrounds.py
+
+  mkdir -p build
 }
 
 build() {
-  mkdir -p ${pkgname}-${pkgver}/builddir
-  cd ${pkgname}-${pkgver}/builddir
-
-  meson --prefix=/usr \
-        --libexecdir=lib/cinnamon \
-        --buildtype=plain \
-        ..
-
+  cd ${pkgname}-${pkgver}/build
+  arch-meson --libexecdir=lib/cinnamon ..
   samu
 }
 
 package() {
-  cd ${pkgname}-${pkgver}/builddir
+  cd ${pkgname}-${pkgver}/build
 
   DESTDIR="${pkgdir}" samu install
 }



More information about the arch-commits mailing list