summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: be76da0deb46c794df77ba44d325e54300871955 (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
# Maintainer: Adam Olech <nddr89@gmail.com>

pkgname=qsixmixer
pkgver=0.2.6
pkgrel=1
pkgdesc="Linux gui mixer for Focusrite Scarlett 6i6"
arch=('x86_64')
url="https://sourceforge.net/projects/qsismixer/"
license=('GPL')
depends=(qt5-base alsa-lib)
source=("https://master.dl.sourceforge.net/project/qsismixer/qsismix.tar.gz")
md5sums=('39af5d46dd68755a132e5b37a3c0bcdf')

build() {
    cd "$srcdir"
    qmake
    make
}

package() {
    cd "$srcdir"
    sed -i -e 's/qsismix.png/audio-card/g' qsismix.desktop
    sed -i -e 's#/usr/local/bin/#/usr/bin/#g' Makefile
    make INSTALL_ROOT="${pkgdir}" install_bin
    install -m644 -D "${srcdir}/qsismix.desktop" "$pkgdir/usr/share/applications/qsixmix.desktop"
}