summaryrefslogtreecommitdiff
path: root/user/mate-user-share/APKBUILD
blob: 3e681aa4f7ade9081a7fdca179d871d80316a37b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=mate-user-share
pkgver=1.22.0
pkgrel=0
pkgdesc="Inter-user file sharing utilities for the MATE desktop environment"
url="https://mate-desktop.org"
arch="all"
license="GPL-2.0+"
depends=""
makedepends="apache-httpd-dev caja-dev dbus-glib-dev gtk+3.0-dev intltool
	itstool libcanberra-dev libnotify-dev libxml2-utils"
subpackages="$pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-user-share-$pkgver.tar.xz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-httpd=/usr/sbin/httpd \
		--with-modules-dir=/usr/libexec/apache2
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="151532ebe031a973e8825d86c9a315697f5930f89d78960946da3ba135238e3130c59018d04cf9dc8d343ff1613e51254701bbf8e23a9881733ecbb7e6fb9f18  mate-user-share-1.22.0.tar.xz"