1 # Maintainer: Alexander Epaneshnikov <alex19ep@archlinux.org>
2 # Contributor: Brad Fanella <cesura@archlinux.org>
3 # Contributor: Martin Wimpress <code@flexion.org>
5 pkgname=mate-user-share
8 pkgdesc="User level public file sharing via WebDAV for MATE"
9 url="https://mate-desktop.org"
12 depends=('gtk3' 'mod_dnssd' 'gettext')
13 makedepends=('caja' 'dbus-glib' 'itstool' 'libcanberra' 'libnotify')
14 optdepends=('caja: File sharing extension')
16 conflicts=('mate-user-share-gtk3')
17 replaces=('mate-user-share-gtk3')
18 source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
19 sha256sums=('936df4d5c6a0d7a6107524767c0340a3b4080b05a151a71eb8d8174c32396287')
22 cd "${pkgname}-${pkgver}"
25 --libexec=/usr/lib/${pkgname} \
29 #https://bugzilla.gnome.org/show_bug.cgi?id=656231
30 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
36 cd "${pkgname}-${pkgver}"
37 make DESTDIR="${pkgdir}" install