summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cee7167c11632fb4ee270ff4a19f81caf585b6f4 (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
# Maintainer: Ian D. Scott <ian@perebruin.com>
pkgname=dsmidiwifi
pkgver=1.01
pkgrel=2
pkgdesc="DSMI Server"
url="http://dsmidiwifi.tobw.net/"
arch=('x86_64' 'i686')
license=('GPL2')
depends=('qt5-base' 'alsa-lib')
source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/dsmi/${pkgname}-v${pkgver}.tgz")
md5sums=('e45703b1a37602d6326916d2ce1b404c')

prepare() {
  cd "${srcdir}/${pkgname}-v${pkgver}/source"
  #Make dsmidiwifi work with qt5
  sed -i "s/QT += network/QT += network widgets/" DSMIDIWiFi.pro
}

build() {
  cd "${srcdir}/${pkgname}-v${pkgver}/source"
  qmake-qt5
  make
}

package() {
  cd "${srcdir}/${pkgname}-v${pkgver}/source"
  install -Dm755 DSMIDIWiFi $pkgdir/usr/bin/DSMIDIWiFi
}

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