[arch-commits] Commit in caja/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Wed Feb 7 21:52:22 UTC 2018
Date: Wednesday, February 7, 2018 @ 21:52:15
Author: arojas
Revision: 290067
archrelease: copy trunk to community-staging-x86_64
Added:
caja/repos/community-staging-x86_64/
caja/repos/community-staging-x86_64/PKGBUILD
(from rev 290066, caja/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: caja/repos/community-staging-x86_64/PKGBUILD (from rev 290066, caja/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-02-07 21:52:15 UTC (rev 290067)
@@ -0,0 +1,40 @@
+# Maintainer:
+# Contributor: Martin Wimpress <code at flexion.org>
+
+pkgname=caja
+pkgver=1.20.0
+pkgrel=1
+pkgdesc="File manager for the MATE desktop"
+url="https://mate-desktop.org"
+arch=('x86_64')
+license=('GPL')
+depends=('exempi' 'gvfs' 'libexif' 'libsm' 'mate-desktop' 'libnotify')
+makedepends=('gobject-introspection' 'intltool')
+optdepends=('gstreamer: automatic media playback when mouseover')
+groups=('mate')
+conflicts=('caja-gtk3')
+replaces=('caja-gtk3')
+source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz")
+sha256sums=('0ff7597948d2dfe2f8c16a428024cbe77523e788a0c3f500277fe1ab30f65017')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/$pkgname \
+ --enable-introspection \
+ --disable-update-mimedb
+
+ #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="${pkgdir}" install
+
+ # Remove D-Bus activation file to avoid conflict with nautilus-desktop
+ rm -r "$pkgdir/usr/share/dbus-1/"
+}
More information about the arch-commits
mailing list