diff options
author | JP Cimalando | 2018-10-28 12:39:47 +0100 |
---|---|---|
committer | JP Cimalando | 2018-10-28 12:39:47 +0100 |
commit | 002d49da5b882c9db14d750d56c3a736a21edc57 (patch) | |
tree | e94d69e1973bb7c89fa6f74769fe7a0a3e292ee5 | |
download | aur-002d49da5b882c9db14d750d56c3a736a21edc57.tar.gz |
initial version
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 51 |
2 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..66fb3cfb0219 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = sysexxer-ng-git + pkgdesc = A universal tool to exchange MIDI system-exclusive data + pkgver = r11.e83f686 + pkgrel = 1 + url = https://github.com/linuxmao-org/sysexxer-ng + arch = i686 + arch = x86_64 + license = Boost + makedepends = git + makedepends = gettext + depends = fltk + depends = jack + depends = alsa-lib + provides = sysexxer-ng + conflicts = sysexxer-ng + source = sysexxer-ng::git+https://github.com/linuxmao-org/sysexxer-ng.git + source = rtmidi::git+https://github.com/Wohlstand/rtmidi.git + source = simpleini::git+https://github.com/jpcima/simpleini.git + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + +pkgname = sysexxer-ng-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3bb1ecfe24d7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: Jean Pierre Cimalando <jp-dev@inbox.ru> +pkgname=sysexxer-ng-git +pkgver=r11.e83f686 +pkgrel=1 +pkgdesc="A universal tool to exchange MIDI system-exclusive data" +arch=('i686' 'x86_64') +url="https://github.com/linuxmao-org/sysexxer-ng" +license=('Boost') +groups=() +depends=('fltk' 'jack' 'alsa-lib') +makedepends=('git' 'gettext') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +replaces=() +backup=() +options=() +install= +source=('sysexxer-ng::git+https://github.com/linuxmao-org/sysexxer-ng.git' + 'rtmidi::git+https://github.com/Wohlstand/rtmidi.git' + 'simpleini::git+https://github.com/jpcima/simpleini.git') +md5sums=('SKIP' + 'SKIP' + 'SKIP') +noextract=() + +pkgver() { + cd "$srcdir/${pkgname%-git}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + cd "$srcdir/${pkgname%-git}" + git submodule init + for submodule in thirdparty/rtmidi thirdparty/simpleini; do + git config "submodule.${submodule}.url" "${srcdir}/`basename "${submodule}"`" + done + git submodule update +} + +build() { + cd "$srcdir/${pkgname%-git}" + mkdir -p build + cd build + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .. + make +} + +package() { + cd "$srcdir/${pkgname%-git}" + make -C build DESTDIR="$pkgdir/" install +} |