summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0b238d9c55a15c0e031bd67bbda2eeeeba1dfa95 (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
34
35
# Maintainer: Albert Graef <aggraef@gmail.com>
# Contributor: speps <speps at aur dot archlinux dor org>

pkgname=qmidinet-git
pkgver=113.dfb4f77
pkgrel=2
pkgdesc="A MIDI Network Gateway via UDP/IP Multicast (git version)"
arch=(i686 x86_64)
url="http://qmidinet.sourceforge.net/"
license=('GPL')
depends=('qt5-base' 'qt5-tools' 'qtchooser' 'alsa-lib' 'jack')
provides=('qmidinet')
conflicts=('qmidinet')
install="$pkgname.install"
source=("$pkgname::git+git://git.code.sf.net/p/qmidinet/code")
md5sums=('SKIP')

pkgver() {
  cd $srcdir/$pkgname
  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

build() {
  cd "$srcdir/$pkgname"
  ./autogen.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname"
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: