Date: Saturday, March 25, 2023 @ 18:37:59
Author: dvzrv
Revision: 1427960
archrelease: copy trunk to community-x86_64
Added:
liblscp/repos/community-x86_64/PKGBUILD
(from rev 1427959, liblscp/trunk/PKGBUILD)
Deleted:
liblscp/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 71 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 37 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-25 18:37:38 UTC (rev 1427959)
+++ PKGBUILD 2023-03-25 18:37:59 UTC (rev 1427960)
@@ -1,34 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-# Contributor: Martin C. Doege <mdoege at compuserve dot com>
-# Contributor: Ray Rashif <[email protected]>
-# Contributor: Shinlun Hsieh <[email protected]>
-
-pkgname=liblscp
-pkgver=0.9.8
-pkgrel=1
-pkgdesc="LinuxSampler Control Protocol C++ library"
-arch=(x86_64)
-url="https://github.com/rncbc/liblscp"
-license=(LGPL2.1)
-depends=(glibc)
-makedepends=(cmake)
-provides=(liblscp.so)
-options=(debug)
-source=($pkgname-$pkgver.tar.gz::https://github.com/rncbc/liblscp/archive/refs/tags/${pkgname}_${pkgver//./_}.tar.gz)
-sha512sums=('153aee5690cd9a4020e7e5f3b6b726522c94bdb2def2712650c408c72f8e1112a121f31e27da4b33ad28ae139fe8ca1d03f9473c77fa5ecde5df7311faa00f8f')
-b2sums=('c1c53dc558890555e1295b170e748076b0c1da9da1d972502d5c1a29d7a4c1e1288c432fb2e65f580418736e01752e7660c3d30e9a9549d445e6fa55bf983181')
-
-build() {
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=None \
- -Wno-dev \
- -B build \
- -S $pkgname-${pkgname}_${pkgver//./_}
- make VERBOSE=1 -C build
-}
-
-package() {
- make VERBOSE=1 DESTDIR="$pkgdir" install -C build
- install -vDm 644 $pkgname-${pkgname}_${pkgver//./_}/{ChangeLog,README} -t
"$pkgdir/usr/share/doc/$pkgname/"
-}
-
Copied: liblscp/repos/community-x86_64/PKGBUILD (from rev 1427959,
liblscp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-25 18:37:59 UTC (rev 1427960)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <[email protected]>
+# Contributor: Martin C. Doege <mdoege at compuserve dot com>
+# Contributor: Ray Rashif <[email protected]>
+# Contributor: Shinlun Hsieh <[email protected]>
+
+pkgname=liblscp
+pkgver=0.9.9
+pkgrel=1
+pkgdesc="LinuxSampler Control Protocol C++ library"
+arch=(x86_64)
+url="https://github.com/rncbc/liblscp"
+license=(LGPL2.1)
+depends=(glibc)
+makedepends=(cmake)
+provides=(liblscp.so)
+source=(https://github.com/rncbc/liblscp/archive/${pkgname}_${pkgver//./_}/$pkgname-${pkgname}_${pkgver//./_}.tar.gz)
+sha512sums=('90839f4d2bf81a2fdcb68d97b2f601cc9193b1e7b47ee94bc11798e45fb04e801d70a0ff1de30e1fb4cd0022b69850c2ad861fd4593ae28e0f201bd947f56d02')
+b2sums=('19f5bac246c9be77a06cf791da09b2b6023cbfcc3100ba8dea1f2627c061903708baf93ee6f899450f842119853037179267702c203db8a7267010ee112e2e81')
+
+build() {
+ local cmake_options=(
+ -B build
+ -D CMAKE_BUILD_TYPE=None
+ -D CMAKE_INSTALL_PREFIX=/usr
+ -S $pkgname-${pkgname}_${pkgver//./_}
+ -W no-dev
+ )
+
+ cmake "${cmake_options[@]}"
+ cmake --build build --verbose
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+ install -vDm 644 $pkgname-${pkgname}_${pkgver//./_}/{ChangeLog,README} -t
"$pkgdir/usr/share/doc/$pkgname/"
+}
+