summaryrefslogtreecommitdiffstats
path: root/main/thunar-volman/APKBUILD
blob: d7342445b6fad028b50171ac615cbbf08ea0c0c3 (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
40
41
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=thunar-volman
pkgver=0.8.0
pkgrel=0
pkgdesc="Thunar extension for volumes management"
url="http://goodies.xfce.org/projects/thunar-plugins/thunar-volman"
arch="all"
license="GPL"
depends=
makedepends="thunar-dev exo-dev udev-dev libxfce4ui-dev libnotify-dev"
install=
subpackages="$pkgname-lang"
source="http://archive.xfce.org/src/apps/thunar-volman/${pkgver%.*}/thunar-volman-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
	# apply patches here
}

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

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

md5sums="250af757ea629c7c27f554d17119080c  thunar-volman-0.8.0.tar.bz2"