summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: de9569b8d37ff6d3590e891ff050bbd073293bfd (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
# Contributor: qaz <fkxxyz@163.com>
pkgname=xfce4-mixer
pkgver=4.11.0
pkgrel=1
pkgdesc="A volume control application based on GStreamer"
arch=('i686' 'x86_64' 'mips64el' 'armv6h' 'armv7h' 'arm' 'aarch64')
url="https://git.xfce.org/apps/xfce4-mixer/"
license=('GPL2')
depends=('xfce4-panel' 'libunique>=1.1' 'alsa-lib>=1.2.1')
makedepends=('xfce4-dev-tools')
source=('git+https://git.xfce.org/apps/xfce4-mixer#commit=ce642ac52e0bed7495261694fd630748bf71157f'
	xfce4-mixer-alsa-git.patch
        no-full-debug-default-for-git.patch)

sha256sums=('SKIP'
            'd044469a259a86e44dfa107f2b8051774848ef43bc72d0d91220dd40641efeb6'
            '85d5226a930aae0fa43e6ab8b8dab4f28f3555f40b05f0f8f315d7d4cd60d408')

prepare() {
 cd "$srcdir/$pkgname"
 patch -Np1 -i "${srcdir}/xfce4-mixer-alsa-git.patch"
 patch -Np1 -i "${srcdir}/no-full-debug-default-for-git.patch"
}

build() {
  cd "$srcdir/$pkgname"
  ./autogen.sh --localstatedir=/var --prefix=/usr --sysconfdir=/etc
  make
}

package ()
{
  cd "$srcdir/$pkgname"
  make DESTDIR="$pkgdir" install
}