Created
October 1, 2021 02:09
-
-
Save yonderbread/e79788377da0d45f62219bde4ff7ba26 to your computer and use it in GitHub Desktop.
Steinberg ASIO SDK PKGBUILD script with fixes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Joakim Hernberg <[email protected]> | |
# Contributor: Ray Rashif <[email protected]> | |
# Contributor: Tony Lambiris <[email protected]> | |
pkgname=steinberg-asio | |
pkgver=2.3.3 | |
_pkgver=${pkgver}_2019-06-14 | |
pkgrel=1 | |
_fullname="asiosdk_${_pkgver}" | |
pkgdesc="Steinberg's ASIO SDK" | |
url="http://www.steinberg.net/en/company/developer.html" | |
arch=('any') | |
license=('custom') | |
source=("http://download.steinberg.net/sdk_downloads/${_fullname}.zip") | |
sha256sums=('80f5bf2703563f6047acec2edd468d0838c9f61eced9f7cdce9629b04e9710ac') | |
prepare() { | |
cd "$srcdir" | |
test -d && rm -f ${_fullname}.zip | |
find "$srcdir" -type d -name ${_fullname} -exec cp -a "{}" "$srcdir" \; | |
} | |
package() { | |
cd "$srcdir"/${_fullname} | |
install -d -m755 -p "$pkgdir"/usr/share/licenses/"$pkgname" | |
install -m644 *Steinberg\ ASIO\ *\ Licensing\ Agreement*.pdf "$pkgdir"/usr/share/licenses/"$pkgname" | |
install -D -m644 common/asio.h "$pkgdir"/usr/include/"$pkgname"/asio.h | |
} | |
# vim:set ts=2 sw=2 et: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment