Add qmidictl

This commit is contained in:
Manuel 2011-08-07 11:47:16 +00:00
parent f33aafb1ee
commit e94a1db767
2 changed files with 38 additions and 0 deletions

26
qmidictl/PKGBUILD Normal file
View File

@ -0,0 +1,26 @@
# Moved from CCR
pkgname=qmidictl
pkgver=0.1.0
pkgrel=1
pkgdesc="A MIDI remote controller application that sends MIDI data over the network, using UDP/IP multicast."
arch=(i686 x86_64)
url="http://qmidictl.sourceforge.net/"
license=('GPL')
depends=('qt' 'hicolor-icon-theme')
install="$pkgname.install"
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=('e75158d956c56ea23c8d65dbdb869331')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}

12
qmidictl/qmidictl.install Normal file
View File

@ -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
}