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

Eli Schwartz eschwartz at archlinux.org
Sun Apr 22 06:53:27 UTC 2018


    Date: Sunday, April 22, 2018 @ 06:53:26
  Author: eschwartz
Revision: 317278

upgpkg: nemo 3.8.0-1

upstream release

Modified:
  nemo/trunk/PKGBUILD

----------+
 PKGBUILD |   43 ++++++++++++++++++-------------------------
 1 file changed, 18 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-22 05:29:07 UTC (rev 317277)
+++ PKGBUILD	2018-04-22 06:53:26 UTC (rev 317278)
@@ -4,7 +4,7 @@
 # Contributor: Ner0
 
 pkgname=nemo
-pkgver=3.6.5
+pkgver=3.8.0
 pkgrel=1
 pkgdesc="Cinnamon file manager (Nautilus fork)"
 arch=('x86_64')
@@ -13,42 +13,35 @@
 depends=('cinnamon-desktop' 'dconf' 'gvfs' 'exempi' 'libexif' 'libnotify' 'libxml2' 'python' 'xapps')
 optdepends=('cinnamon-translations: i18n'
             'ffmpegthumbnailer: support for video thumbnails')
-makedepends=('gobject-introspection' 'gnome-common' 'gtk-doc' 'intltool')
-#options=('!emptydirs')
+makedepends=('meson' 'gobject-introspection' 'intltool')
 source=("$pkgname-$pkgver.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha512sums=('6a8652633c0d71e910aad1447cae1cc09de67e6325ff4c7b1515e653e354be80ec2b9889f92bbe3fa011132152729e8aacf95698c079ff00d6b8e737a9cd25f1')
+sha512sums=('488282d607296bfefa692af2bf12f25fe5f0570945f75fa17ba64dd38eb5b982f8163d311310a6619bdba6241e0b3f15d5bcc10799234a01bc47e7ec63132c25')
 
 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.in
-
-    NOCONFIGURE=1 ./autogen.sh
+    sed -i '/^\[Desktop Entry/,/^\[Desktop Action/ s/^Name\(.*\)=.*/Name\1=Nemo/' data/nemo.desktop.in
 }
 
 build() {
-    cd "${srcdir}"/${pkgname}-${pkgver}
+    mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build
+    cd "${srcdir}"/${pkgname}-${pkgver}/build
 
-    ./configure --prefix=/usr \
-                --sysconfdir=/etc \
-                --localstatedir=/var \
-                --disable-static \
-                --libexecdir=/usr/lib/nemo \
-                --disable-update-mimedb \
-                --disable-tracker \
-                --disable-gtk-doc-html \
-                --disable-schemas-compile \
-                --disable-selinux
-
-    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
-    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-    make
+    meson --prefix=/usr \
+          --libexecdir=lib/${pkgname} \
+          --buildtype=plain \
+          ..
+    ninja
 }
 
 package() {
-    cd "${srcdir}"/${pkgname}-${pkgver}
+    cd "${srcdir}"/${pkgname}-${pkgver}/build
 
-    make DESTDIR="${pkgdir}" install
+    DESTDIR="${pkgdir}" ninja install
+
+    # https://github.com/linuxmint/nemo/pull/1835
+    rm "${pkgdir}"/usr/lib/libnemo-private.a
+
+
 }



More information about the arch-commits mailing list