[arch-commits] Commit in libsbsms/repos (community-x86_64 community-x86_64/PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Sat Jul 23 18:34:35 UTC 2022
Date: Saturday, July 23, 2022 @ 18:34:35
Author: dvzrv
Revision: 1255858
archrelease: copy trunk to community-x86_64
Added:
libsbsms/repos/community-x86_64/
libsbsms/repos/community-x86_64/PKGBUILD
(from rev 1255857, libsbsms/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: libsbsms/repos/community-x86_64/PKGBUILD (from rev 1255857, libsbsms/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2022-07-23 18:34:35 UTC (rev 1255858)
@@ -0,0 +1,31 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=libsbsms
+pkgver=2.3.0
+pkgrel=2
+pkgdesc="A library for high quality time and pitch scale modification"
+arch=(x86_64)
+url="https://github.com/claytonotey/libsbsms"
+license=(GPL2)
+depends=(gcc-libs)
+makedepends=(cmake)
+options=(debug)
+source=($pkgname-$pkgver.tar.gz::https://github.com/claytonotey/libsbsms/archive/refs/tags/$pkgver.tar.gz)
+sha512sums=('e5b544c2bdbaa2169236987c7a043838c8d1761b25280c476d7a32656d482c6485cb33f579ea9d1ce586ec7b2913ed8fdcf1abe5c7cc8b9e4eef9ce87de54627')
+b2sums=('3707b573ffef414e5373526704d4e54bf0f53b6bc5d9ce6e69bf22e11e5380eccb65a6c26e3598ee4bf43f341a7dcc6e1a7d7f5113bb649ef9e94b01ba36cc0f')
+
+build() {
+ cmake -B build -S $pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE='None' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -Wno-dev
+ cmake --build build
+}
+
+check() {
+ ctest --test-dir build --output-on-failure
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
More information about the arch-commits
mailing list