### this file is sourced not run
PKGVER=2018.02
PKGBUILD=1
PKGARCH=noarch

# source: james
TARBALL=rtirq-20180209.tar.gz
MD5SUM=58a27e58b0e4382e149fe388955a3732
SRC_URL=http://www.rncbc.org/archive/$TARBALL
BUNDLE=

SLACKREQ='' # 
SLACKDESC="rtirq: rtirq $PKGVER (Linux real-time kernel IRQ management)
rtirq: 
rtirq: The rtirq script is a bash script written by Rui Nuno Capela which 
rtirq: works in conjunction with the realtime kernel patch by Ingo Molnar. 
rtirq: The script attemps to to minimize the latency of audio peripherals.
rtirq: 
rtirq: http://www.rncbc.org/drupal/node/1886
rtirq: https://alsa.opensrc.org/Rtirq
rtirq: https://wiki.ubuntu.com/UbuntuStudio/rtirq
rtirq:
rtirq: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/rtirq*
	mkdir -p /etc/init.d &&
	
	install -m644 rtirq.sh /etc/init.d/99-rtirq &&
	install -m644 rtirq.conf /etc &&
	install -m755 ../pkg/ps-rt.sh /usr/bin &&

	pkg_build_slackdesc
}
