aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce4-mixer/APKBUILD
blob: da226716c741651144b2eb6c37f195a726632326 (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
45
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-mixer
pkgver=4.11.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 gst-plugins-base0.10-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"
}

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="1b3753b91224867a3a2dfddda239c28d  xfce4-mixer-4.11.0.tar.bz2"
sha256sums="fb0c1df201ed1130f54f15b914cbe5a59286e994a137acda5609570c57112de2  xfce4-mixer-4.11.0.tar.bz2"
sha512sums="0ef27ece0d5f46bd83db86d8e607d2dc34f4b0221679dbdeae4e4eb9993b30398a2e882b3a870af9928906330898935f2fe29e83442ba6f01b9e19d02ea6f66f  xfce4-mixer-4.11.0.tar.bz2"