blob: 741ba59fd758b9d9718dfae74fb8bc8689b99e08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Ewan Green <ewangreen95 at gmail dot com>
# Contributor: JP Cimalando <jp-dev at inbox dot ru>
pkgname=ptcollab-git
_pkgname=ptcollab
pkgver=latest
pkgrel=2
pkgdesc="Multiplayer music editor"
arch=('x86_64' 'aarch64')
url="https://yuxshao.github.io/ptcollab/"
license=('MIT')
depends=('qt5-base' 'rtmidi')
makedepends=('git' 'qt5-tools' 'qt5-multimedia' 'libogg' 'libvorbis')
conflicts=("$_pkgname")
source=("$_pkgname::git+https://github.com/yuxshao/ptcollab.git")
md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
}
build() {
cd "$_pkgname"
qmake ptcollab.pro CONFIG+=release PREFIX=/usr QMAKE_CXXFLAGS+='-D_GLIBCXX_ASSERTIONS=0'
make -j$(expr `nproc` - `nproc` / 2) qmake_all
make
}
package() {
cd "$_pkgname"
make INSTALL_ROOT="$pkgdir" install
}
|