Subject: [PATCH] testing/portsmf: new aport

From: Sol Fisher Romanoff <[email-masked]>
Date: Sun, 5 Sep 2021 15:48:58 +0300

https://github.com/tenacityteam/portsmf
C++ library for reading and writing Standard MIDI Files
---
 testing/portsmf/APKBUILD | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 testing/portsmf/APKBUILD

diff --git a/testing/portsmf/APKBUILD b/testing/portsmf/APKBUILD
new file mode 100644
index 0000000000..2e78994510
--- /dev/null
+++ b/testing/portsmf/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Sol Fisher Romanoff <[email-masked]>
+# Maintainer: Sol Fisher Romanoff <[email-masked]>
+pkgname=portsmf
+pkgver=239
+pkgrel=0
+pkgdesc="C++ library for reading and writing Standard MIDI Files"
+url="https://github.com/tenacityteam/portsmf"
+arch="all"
+license="MIT"
+makedepends="cmake"
+subpackages="$pkgname-dev"
+options="!check" # No testsuite
+source="$pkgname-$pkgver.tar.gz::https://github.com/tenacityteam/portsmf/archive/refs/tags/$pkgver.tar.gz"
+
+build() {
+	cmake \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_INSTALL_LIBDIR=lib \
+		-S . -B build
+	cmake --build build
+}
+
+package() {
+	DESTDIR="$pkgdir" cmake --install build
+}
+
+sha512sums="
+5908ef79043b44f90da8286d639a0693334f160454d206f4a212fe958a7a2e19cbc18e4240e191c1678690f34976c5e0d34dcb030d7bab007ee528fbb5e19486  portsmf-239.tar.gz
+"
-- 
2.33.0