1
0
forked from ports/contrib

ncpamixer: updated cmake syntax

This commit is contained in:
Tim Biermann 2020-05-31 00:26:13 +02:00
parent fbaaddfbbd
commit 8abd3f8d81
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 10 additions and 14 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF34LTisYNY2bNzLXgWA1oPNvz01xG8aGK2tamo8w6l6iBiVW/wbbSPF5dhHhGvbwV5O9+mzRpK4KzQlgvC3PeOwE=
SHA256 (Pkgfile) = 688c863abc003b5150ccd919bca2df9a27aa84c79228f04b20edf3e7f27dff1a
RWSagIOpLGJF3zi3p6i3iSPZZFDA4Q56Vf1BrYGEKA5FSAAnhnI88nYsTEH4uH7chY/BtBgF2M7i/+ZdaQ7cCOHbjrlrTp4EFgw=
SHA256 (Pkgfile) = 7deabdec7bb23fc2c6fc05cd6a01c5e0509c7dc4f4b99d45356c7db427042105
SHA256 (.footprint) = 9e08e0076af6c98e27353c88de914fbb4a9aea6dab1a365a9670e0e270aa3d25
SHA256 (ncpamixer-1.3.3.tar.gz) = a9f5385e06de4d5554030cc41c111d08d2bd1488140f260f10aec27369475c5f
SHA256 (ncpamixer.1) = b616e0707c75c6fd6162bd011baa37f7754946e5857f3ca814e5dab719bf358a

View File

@ -1,23 +1,19 @@
# Description: ncurses Pulseaudio mixer
# URL: https://github.com/fulhax/ncpamixer
# Maintainer: unmaintained
# Maintainer: Tim Biermann
# Depends on: cmake ncurses pulseaudio
name=ncpamixer
version=1.3.3
release=1
source=(https://github.com/fulhax/ncpamixer/archive/$version/$name-$version.tar.gz
$name.1)
$name.1)
build() {
cd $name-$version
mkdir build
cd build
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr ../src
make
make DESTDIR=$PKG install
install -Dm644 $SRC/$name.1 $PKG/usr/share/man/man1/$name.1
cmake -S$name-$version/src -Bbuild -GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
DESTDIR=$PKG cmake --build build --target install
install -Dm644 $SRC/$name.1 $PKG/usr/share/man/man1/$name.1
}