diff --git a/qmidinet/PKGBUILD b/qmidinet/PKGBUILD new file mode 100644 index 000000000..f6f03ae50 --- /dev/null +++ b/qmidinet/PKGBUILD @@ -0,0 +1,27 @@ +# Moved from CCR +# Contributor: ulritx +pkgname=qmidinet +pkgver=0.1.1 +pkgrel=1 +pkgdesc="A MIDI network gateway application that sends and receives MIDI data (ALSA Sequencer) over the network, using UDP/IP multicast" +arch=(i686 x86_64) +url="http://qmidinet.sourceforge.net/" +license=('GPL') +depends=('qt' 'jack' 'hicolor-icon-theme') +install="$pkgname.install" +source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") +md5sums=('4f132915199534f88fd490650c919775') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} + diff --git a/qmidinet/qmidinet.install b/qmidinet/qmidinet.install new file mode 100644 index 000000000..27c23a45d --- /dev/null +++ b/qmidinet/qmidinet.install @@ -0,0 +1,12 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_remove() { + post_install +}