2020-12-16 15:18:27 +09:00
|
|
|
# Maintainer: Colin Reeder <colin AT reederhome DOT net>
|
|
|
|
pkgname=pa-applet-git
|
|
|
|
pkgver=19.3b4f8b3
|
2022-04-14 12:13:52 +09:00
|
|
|
pkgrel=3
|
2020-12-16 15:18:27 +09:00
|
|
|
pkgdesc="PulseAudio control applet"
|
|
|
|
arch=(i686 x86_64)
|
|
|
|
url="https://github.com/fernandotcl/pa-applet"
|
|
|
|
license=('BSD')
|
|
|
|
depends=('gtk3' 'libnotify' 'libpulse')
|
|
|
|
makedepends=('git')
|
|
|
|
options=('!libtool')
|
|
|
|
|
|
|
|
source=(
|
2022-04-14 12:13:52 +09:00
|
|
|
"$pkgname"::'git+https://github.com/fernandotcl/pa-applet.git'
|
2020-12-16 15:18:27 +09:00
|
|
|
'smaller_volume_step.patch'
|
|
|
|
)
|
|
|
|
|
2022-04-14 12:13:52 +09:00
|
|
|
b2sums=(
|
|
|
|
SKIP
|
|
|
|
904312b9170b3a7c8e5c1f3fece067e41db987866b208d98594e408a527de00e3b0e500a8557655ef14582492f37eff380ad01e53cf64b67f8cdd20ad2c34646
|
2020-12-16 15:18:27 +09:00
|
|
|
)
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd "$pkgname"
|
|
|
|
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
|
|
|
}
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd "$pkgname"
|
|
|
|
patch --forward --strip=1 --input="${srcdir}/smaller_volume_step.patch"
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname"
|
|
|
|
CFLAGS+=" -Wno-error"
|
|
|
|
./autogen.sh
|
|
|
|
./configure --prefix=/usr
|
2022-04-14 12:13:52 +09:00
|
|
|
make
|
2020-12-16 15:18:27 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname"
|
|
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
|
|
}
|