[arch-commits] Commit in nemo/trunk (PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Thu Nov 4 19:54:29 UTC 2021
Date: Thursday, November 4, 2021 @ 19:54:28
Author: archange
Revision: 1036982
upgpkg: nemo 5.0.5-1
+PKGBUILD adoption and linting
Modified:
nemo/trunk/PKGBUILD
----------+
PKGBUILD | 45 +++++++++++++++++++++++----------------------
1 file changed, 23 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-04 19:48:24 UTC (rev 1036981)
+++ PKGBUILD 2021-11-04 19:54:28 UTC (rev 1036982)
@@ -1,16 +1,17 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
# Contributor: Alexandre Filgueira <alexfilgueira at cinnarch.com>
# Contributor: Ner0
pkgname=nemo
-pkgver=5.0.4
+pkgver=5.0.5
pkgrel=1
pkgdesc="Cinnamon file manager (Nautilus fork)"
-arch=('x86_64')
+arch=(x86_64)
url="https://github.com/linuxmint/${pkgname}"
-license=('GPL')
-depends=('cinnamon-desktop' 'dconf' 'gvfs' 'exempi' 'libexif' 'libnotify' 'libxml2'
- 'python' 'xapp')
+license=(GPL)
+depends=(cinnamon-desktop dconf gvfs exempi libexif libnotify libxml2
+ python xapp)
optdepends=('cinnamon-translations: i18n'
'ffmpegthumbnailer: support for video thumbnails'
'catdoc: search helpers support for legacy MS Office files'
@@ -19,31 +20,31 @@
'libreoffice: search helpers support for legacy MS Office powerpoint files'
'odt2txt: search helpers support for LibreOffice files'
'poppler: search helpers support for PDF')
-makedepends=('meson' 'samurai' 'gobject-introspection' 'intltool' 'libgsf')
-source=("$pkgname-$pkgver.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha512sums=('e03558d336785d77c1a57d2d100906263d2015330a00d54e2cc0161d9d822740ef5c314062f90a877cee5b031b4b5caf9ebf59f22fb5e15f2e91c75bb239e488')
-b2sums=('4ecafb315673c0939dfb2585e97957ee9d76e9621fbbece2b93d9ed10b24ec86d2c49cdd8d18ac7c8607184752fe2541508a1b626fdce763fdc8ac1b6e713e49')
+makedepends=(meson samurai gobject-introspection intltool libgsf)
+source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('f77ef249959deb30f7fd03a22c0233fee1e6a122f4b9cf2f6b0f596dee32d41ea6c4cba5d4777ce463d20dfd8ae45a0bb4bac10af81c338da4b567a9338e9a5c')
+b2sums=('8bb212d6af44c0797697ab6eb096dbca58f9616420b29c71cd33b427a982a489bcd6a824827d01a4ab9e698b092d61c5b7baf606fb50e6e817b6dcb46524ad04')
prepare() {
- cd "${srcdir}"/${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
- # Rename 'Files' app name to avoid having the same as nautilus
- sed -i '/^\[Desktop Entry/,/^\[Desktop Action/ s/^Name\(.*\)=.*/Name\1=Nemo/' data/nemo.desktop.in
+ # Rename 'Files' app name to avoid having the same as nautilus
+ sed -i '/^\[Desktop Entry/,/^\[Desktop Action/ s/^Name\(.*\)=.*/Name\1=Nemo/' data/nemo.desktop.in
}
build() {
- mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build
- cd "${srcdir}"/${pkgname}-${pkgver}/build
+ mkdir -p ${pkgname}-${pkgver}/build
+ cd ${pkgname}-${pkgver}/build
- meson --prefix=/usr \
- --libexecdir=lib/${pkgname} \
- --buildtype=plain \
- ..
- samu
+ meson --prefix=/usr \
+ --libexecdir=lib/${pkgname} \
+ --buildtype=plain \
+ ..
+ samu
}
package() {
- cd "${srcdir}"/${pkgname}-${pkgver}/build
+ cd ${pkgname}-${pkgver}/build
- DESTDIR="${pkgdir}" samu install
+ DESTDIR="${pkgdir}" samu install
}
More information about the arch-commits
mailing list