summaryrefslogtreecommitdiff
path: root/community/milkytracker
diff options
context:
space:
mode:
Diffstat (limited to 'community/milkytracker')
-rw-r--r--community/milkytracker/PKGBUILD9
-rw-r--r--community/milkytracker/milkytracker.install18
2 files changed, 24 insertions, 3 deletions
diff --git a/community/milkytracker/PKGBUILD b/community/milkytracker/PKGBUILD
index 430a67ffa..ecee22ddf 100644
--- a/community/milkytracker/PKGBUILD
+++ b/community/milkytracker/PKGBUILD
@@ -4,14 +4,16 @@
pkgname=milkytracker
pkgver=0.90.85
-pkgrel=3
+pkgrel=4
pkgdesc="Fast Tracker II inspired music tracker"
arch=('x86_64' 'i686')
url="http://www.milkytracker.org/"
license=('GPL3')
depends=('sdl>=1.2.0' 'alsa-lib' 'zlib' 'gcc-libs')
+makedepends=('jack-audio-connection-kit')
optdepends=('jack-audio-connection-kit: JACK audio support')
options=('docs')
+install=$pkgname.install
source=("http://milkytracker.org/files/$pkgname-$pkgver.tar.bz2"
'arch.patch'
"$pkgname.desktop")
@@ -23,7 +25,7 @@ build() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 -i ../arch.patch
- ./configure --prefix=/usr --with-alsa
+ ./configure --prefix=/usr --with-alsa --with-jack
make
}
@@ -35,7 +37,8 @@ package() {
"$pkgdir/usr/share/doc/milkytracker"
install -Dm644 resources/pictures/carton.png \
"$pkgdir/usr/share/pixmaps/milkytracker.png"
- install -m644 "$srcdir/milkytracker.desktop" "$pkgdir/usr/share/applications"
+ install -m644 "$srcdir/milkytracker.desktop" \
+ "$pkgdir/usr/share/applications"
install -m644 docs/ChangeLog.html "$pkgdir/usr/share/doc/milkytracker"
install -m644 docs/MilkyTracker.html "$pkgdir/usr/share/doc/milkytracker"
install -m644 docs/readme_unix "$pkgdir/usr/share/doc/milkytracker"
diff --git a/community/milkytracker/milkytracker.install b/community/milkytracker/milkytracker.install
new file mode 100644
index 000000000..aeef78890
--- /dev/null
+++ b/community/milkytracker/milkytracker.install
@@ -0,0 +1,18 @@
+post_upgrade() {
+ gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor
+ update-desktop-database -q
+ echo 'If you wish to use jack (or jack2), use this command the first time'
+ echo 'you start milkytracker: SDL_AUDIODRIVER=jack milkytracker'
+ echo 'Then select the jack driver in milkytracker and connect the audio'
+ echo 'with a program like qjackctl.'
+}
+
+post_install() {
+ post_upgrade
+}
+
+post_remove() {
+ post_upgrade
+}
+
+# vim:set ts=2 sw=2 et: