aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce4-mixer/APKBUILD
blob: c5dfcca34a854c3f50cdf05774651469ce1db43d (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
42
43
44
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-mixer
pkgver=4.10.0
pkgrel=0
pkgdesc="The volume control plugin for the Xfce panel"
url="http://www.xfce.org/"
arch="all"
license="GPL2"
depends="hicolor-icon-theme"
makedepends="xfce4-panel-dev gstreamer-dev gst-plugins-base-dev libxfce4ui-dev
	libunique-dev keybinder-dev"
install=
subpackages="$pkgname-lang"
source="http://archive.xfce.org/src/apps/xfce4-mixer/${pkgver%.*}/xfce4-mixer-$pkgver.tar.bz2
	"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static \
		--with-sound=alsa \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" -name '*.la' -delete
}
md5sums="e47d5b3e873fdee3fa80d309a5f53e9c  xfce4-mixer-4.10.0.tar.bz2"