summaryrefslogtreecommitdiffstats
path: root/main/xfce4-mixer/APKBUILD
blob: ebdcdf5d11ba3b770362fa08e70aa493cf0e2233 (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
# 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
	"

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

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