diff options
author | Tim Biermann <tbier@posteo.de> | 2020-05-31 00:26:13 +0200 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-05-31 00:26:13 +0200 |
commit | 8abd3f8d810f2f250830921557569acd413c102d (patch) | |
tree | 4af310530a98e9b613fa3712473e1cd01bbe67a2 /ncpamixer | |
parent | fbaaddfbbdc6d1432d934ed4e390fadcce6ae13c (diff) | |
download | contrib-8abd3f8d810f2f250830921557569acd413c102d.tar.gz contrib-8abd3f8d810f2f250830921557569acd413c102d.tar.xz |
ncpamixer: updated cmake syntax
Diffstat (limited to 'ncpamixer')
-rw-r--r-- | ncpamixer/.signature | 4 | ||||
-rw-r--r-- | ncpamixer/Pkgfile | 20 |
2 files changed, 10 insertions, 14 deletions
diff --git a/ncpamixer/.signature b/ncpamixer/.signature index f87af4ae7..a07a64356 100644 --- a/ncpamixer/.signature +++ b/ncpamixer/.signature @@ -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 diff --git a/ncpamixer/Pkgfile b/ncpamixer/Pkgfile index bbb8e3964..92a6df04d 100644 --- a/ncpamixer/Pkgfile +++ b/ncpamixer/Pkgfile @@ -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 } |