Date: Sunday, November 14, 2021 @ 08:02:18
  Author: archange
Revision: 1046693

Packager removal rebuild

Also PKGBUILD linting + dummy version update

Modified:
  cinnamon-menus/trunk/PKGBUILD

----------+
 PKGBUILD |   37 +++++++++++++++++--------------------
 1 file changed, 17 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2021-11-14 08:02:18 UTC (rev 1046692)
+++ PKGBUILD    2021-11-14 08:02:18 UTC (rev 1046693)
@@ -1,31 +1,28 @@
-# Maintainer: Eli Schwartz <eschwa...@archlinux.org>
+# Maintainer: Bruno Pagani <archa...@archlinux.org>
+# Contributor: Eli Schwartz <eschwa...@archlinux.org>
 # Contributor: Alexandre Filgueira <alexfilgue...@antergos.com>
 
 pkgname=cinnamon-menus
-pkgver=4.8.3
+pkgver=5.0.0
 pkgrel=1
 pkgdesc="Cinnamon menu specifications"
-arch=('x86_64')
-url="https://github.com/linuxmint/${pkgname}";
-license=('GPL' 'LGPL')
-depends=('glib2')
-makedepends=('gobject-introspection' 'meson' 'samurai')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('b0a02ab0e37d67e761c24545123ec354e7fab0a504267e524892a953bcfd98d7')
-b2sums=('18a6c3d8ed8a3d63621d10db5920e18e7bba42d6f7967f4a98d9cb8cf446716cfb54c0321a669aeaf3c9f9c901bc3d2ff07b77b5d4b73ef06d2af4e541b2d728')
+arch=(x86_64)
+url="https://github.com/linuxmint/cinnamon-menus";
+license=(GPL LGPL)
+depends=(glib2)
+makedepends=(gobject-introspection meson samurai)
+source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('f8428f60b7f0fcbde0e4b5db22a7b79b55c5c880574f350784372d54d65a07d0')
+b2sums=('1d2f95d5b599f73f8161caf7964d3508f34c4c28f677dc8367d4ba67004d77c00e1f77cb1851084bcf26482d1689da7d1734c21649ade89ca6d9ca15475623b8')
 
 build() {
-    mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build
-    cd "${srcdir}"/${pkgname}-${pkgver}/build
-
-    meson --prefix=/usr \
-          --buildtype=plain \
-          ..
-    samu
+  mkdir -p build
+  cd build
+  arch-meson ../${pkgname}-${pkgver}
+  samu
 }
 
 package(){
-    cd "${srcdir}"/${pkgname}-${pkgver}/build
-
-    DESTDIR="${pkgdir}" samu install
+  cd build
+  DESTDIR="${pkgdir}" samu install
 }

Reply via email to