Date: Tuesday, September 22, 2020 @ 17:03:12
  Author: dvzrv
Revision: 711398

archrelease: copy trunk to community-x86_64

Added:
  osmid/repos/community-x86_64/PKGBUILD
    (from rev 711397, osmid/trunk/PKGBUILD)
Deleted:
  osmid/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   73 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2020-09-22 17:02:53 UTC (rev 711397)
+++ PKGBUILD    2020-09-22 17:03:12 UTC (rev 711398)
@@ -1,36 +0,0 @@
-# Maintainer: David Runge <d...@sleepmap.de>
-pkgname=osmid
-pkgver=0.6.8
-pkgrel=2
-pkgdesc="A lightweight, portable, easy to use tool to convert MIDI to OSC and 
OSC to MIDI"
-arch=('x86_64')
-url="https://github.com/llloret/osmid";
-license=('GPL2' 'MIT')
-groups=('pro-audio')
-depends=('alsa-lib' 'gcc-libs')
-makedepends=('cmake' 'libx11')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/llloret/${pkgname}/archive/v${pkgver}.tar.gz";)
-sha512sums=('b0b5024c3894735968566ac7b5d93f67000dcaf65d4e41443cefc00561f2e0892a32b77fdb7a53db74b0732e7ca9d97653151f0f5aa9c32fae40be9396feba98')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  mkdir -v build
-}
-
-build() {
-  cd "$pkgname-$pkgver/build"
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
-        ..
-  make
-}
-
-package() {
-  cd "$pkgname-$pkgver/build"
-  make DESTDIR="$pkgdir/" install
-  # license
-  install -vDm 644 ../LICENSE.md \
-    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  # docs
-  install -vDm 644 ../README.md \
-    "${pkgdir}/usr/share/doc/${pkgname}/README.md"
-}

Copied: osmid/repos/community-x86_64/PKGBUILD (from rev 711397, 
osmid/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2020-09-22 17:03:12 UTC (rev 711398)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <dv...@archlinux.org>
+
+pkgname=osmid
+pkgver=0.8.0
+pkgrel=1
+pkgdesc="A lightweight, portable, easy to use tool to convert MIDI to OSC and 
OSC to MIDI"
+arch=('x86_64')
+url="https://github.com/llloret/osmid";
+license=('GPL2' 'MIT')
+groups=('pro-audio')
+depends=('gcc-libs' 'glibc')
+makedepends=('alsa-lib' 'cmake' 'libx11')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/llloret/${pkgname}/archive/v${pkgver}.tar.gz";)
+sha512sums=('279159790c0214780576cca6483883f71c19923a0bb623b62d7ea6f9ac08f82144c09b1237ffafcf8bba88fbd4fee3bd956570dee8f5f160c88538ce18ccaf8e')
+b2sums=('3544d7a4de0ba1a82ad8d42ff9997cc518ded825ffa73491e665552769047005f97ff52138e3b5653beb37d57ab336c3bfc9aa68527c5646b60c132e8af61117')
+
+build() {
+  cd "$pkgname-$pkgver"
+  cmake -DCMAKE_INSTALL_PREFIX='/usr' \
+        -DCMAKE_BUILD_TYPE='None' \
+        -W no-dev \
+        -B build \
+        -S .
+  make VERBOSE=1 -C build
+}
+
+package() {
+  depends+=('libasound.so')
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install -C build
+  # license
+  install -vDm 644 LICENSE.md \
+    -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  # docs
+  install -vDm 644 README.md \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Reply via email to