summaryrefslogtreecommitdiff
path: root/community/mate-user-share/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mate-user-share/PKGBUILD')
-rw-r--r--community/mate-user-share/PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/community/mate-user-share/PKGBUILD b/community/mate-user-share/PKGBUILD
new file mode 100644
index 000000000..ccf81858d
--- /dev/null
+++ b/community/mate-user-share/PKGBUILD
@@ -0,0 +1,43 @@
+# $Id: PKGBUILD 105613 2014-02-11 18:11:20Z flexiondotorg $
+# Maintainer : Martin Wimpress <code@flexion.org>
+
+pkgname=mate-user-share
+pkgver=1.6.1
+pkgrel=7
+pkgdesc="User level public file sharing via WebDAV."
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('apache' 'dbus-glib' 'dconf' 'libunique' 'mod_dnssd')
+makedepends=('libcanberra' 'libnotify' 'mate-common' 'mate-doc-utils'
+ 'mate-file-manager' 'perl-xml-parser')
+options=('!emptydirs')
+install=${pkgname}.install
+source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz"
+ "https://github.com/mate-desktop/mate-user-share/commit/7a0305478295e9e7c284372677a4cbc382444482.diff")
+sha1sums=('83f161dee79ea0ae4345c54a5b1339f673f68e8f'
+ 'ffa10ae69f5edf08d605418182f3c5bc975eb3cf')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ # do not use download dir for incoming bluetooth downloads if mate-bluetooth isn't installed
+ patch -Np1 -i "${srcdir}/7a0305478295e9e7c284372677a4cbc382444482.diff"
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ PYTHON=/usr/bin/python2 ./configure \
+ --prefix=/usr \
+ --libexec=/usr/lib/${pkgname} \
+ --sysconfdir=/etc \
+ --disable-static \
+ --disable-scrollkeeper \
+ --disable-bluetooth
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ rm -f "${pkgdir}/usr/share/mate-user-share/dav_user_2.0.conf"
+}