summaryrefslogtreecommitdiffstats
path: root/testing/gvfs/APKBUILD
blob: 18be65b2dbaa52317a1fa358df0685245ab5e2e4 (plain)
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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gvfs
pkgver=1.6.6
pkgrel=1
pkgdesc="userspace virtual filesystem"
url="http://ftp.gnome.org/pub/gnome/sources/gvfs/1.6/"
license="GPL"
depends=
makedepends="dbus-glib-dev intltool fuse-dev udev-dev bluez-dev expat-dev
	samba-dev libsoup-dev"
install=
subpackages="$pkgname-dev"
source="http://ftp.gnome.org/pub/gnome/sources/gvfs/${pkgver%.*}/gvfs-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

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

	# remove the 2 lines below (and this) if there is no init.d script
	# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}

md5sums="e1f324c45ea07d630f85bd3199865fd9  gvfs-1.6.6.tar.bz2"