summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a6d8fb268908d41bc7a80a74dfa149d88e4dd01b (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
33
# Maintainer:  kernel1024 <kernelonline at gmail dot com>

pkgname=aplugedit-git
_pkgname=aplugedit
pkgver=20220404.c22282a
pkgrel=2
pkgdesc="APlugEdit is a graphical schematic editor for ALSA .asoundrc file"
arch=('i686' 'x86_64')
url="https://github.com/kernel1024/aplugedit"
license=('GPL3')

depends=('qt5-base>=5.10.0' 'alsa-lib' 'ladspa')
optdepends=('gstreamer: Sample player support with interactive debug logging' )

makedepends=('git')
source=("git+https://github.com/kernel1024/aplugedit.git")
md5sums=('SKIP')

pkgver() {
    cd "${srcdir}/${_pkgname}"
    git log -1 --format='%cd.%h' --date=short | tr -d -
}

build () {
    cd "$srcdir/${_pkgname}"
    qmake-qt5
    make
}

package () {
    cd "$srcdir/${_pkgname}"
    make INSTALL_ROOT="${pkgdir}" install
}