[arch-commits] Commit in nemo/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Sat Jan 19 11:06:04 UTC 2019
Date: Saturday, January 19, 2019 @ 11:06:04
Author: arojas
Revision: 424488
archrelease: copy trunk to community-staging-x86_64
Added:
nemo/repos/community-staging-x86_64/
nemo/repos/community-staging-x86_64/PKGBUILD
(from rev 424487, nemo/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: nemo/repos/community-staging-x86_64/PKGBUILD (from rev 424487, nemo/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-01-19 11:06:04 UTC (rev 424488)
@@ -0,0 +1,41 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Alexandre Filgueira <alexfilgueira at cinnarch.com>
+# Contributor: Ner0
+
+pkgname=nemo
+pkgver=4.0.6
+pkgrel=2
+pkgdesc="Cinnamon file manager (Nautilus fork)"
+arch=('x86_64')
+url="https://github.com/linuxmint/${pkgname}"
+license=('GPL')
+depends=('cinnamon-desktop' 'dconf' 'gvfs' 'exempi' 'libexif' 'libnotify' 'libxml2' 'python' 'xapps')
+optdepends=('cinnamon-translations: i18n'
+ 'ffmpegthumbnailer: support for video thumbnails')
+makedepends=('meson' 'gobject-introspection' 'intltool')
+source=("$pkgname-$pkgver.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha512sums=('87006f345317b37093daed1081880a4c28eb84438b9c43f9b62211824306074969e5e21df57cfc5fa163d66d16bcf7ba6c26674e27353cfd8a91cf2bfe82099f')
+
+prepare() {
+ cd "${srcdir}"/${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
+}
+
+build() {
+ mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build
+ cd "${srcdir}"/${pkgname}-${pkgver}/build
+
+ meson --prefix=/usr \
+ --libexecdir=lib/${pkgname} \
+ --buildtype=plain \
+ ..
+ ninja
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgver}/build
+
+ DESTDIR="${pkgdir}" ninja install
+}
More information about the arch-commits
mailing list