blob: 21d980a5dfb4f6d08c8a359c8272c5e79cb5d892 (
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
|
# Maintainer: Luca Canavese <l.canavese@protonmail.com>
# Contributor: sQVe <oskargrunning@gmail.com>
pkgname=ncpamixer
pkgver=1.3.8
pkgrel=1
pkgdesc='ncurses PulseAudio Mixer'
url='https://github.com/fulhax/ncpamixer'
arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
license=('MIT')
depends=('ncurses' 'pulse-native-provider')
makedepends=('git' 'cmake')
provides=('ncpamixer')
conflicts=('ncpamixer-git')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/fulhax/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('a7fb4c12e211ffc99d53b4c0f1bb665f122f847a2a468e6347a2127cfa895685')
build() {
cd "$srcdir/$pkgname-$pkgver"
cmake -DCMAKE_BUILD_TYPE=release $srcdir/$pkgname-$pkgver/src \
-DCMAKE_INSTALL_PREFIX="/usr"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim: ts=2 sw=2 et:
|