Skip to content

Instantly share code, notes, and snippets.

@kolewu
Last active December 15, 2015 15:29
Show Gist options
  • Save kolewu/5282218 to your computer and use it in GitHub Desktop.
Save kolewu/5282218 to your computer and use it in GitHub Desktop.
an updated PKGBUILD for mma-songs
# Contributor: Eric Le Bras <eric.lebras@gmail.com>
# Contributor: Uwe Koloska <kolewu@koloro.de>
pkgname=mma-songs
pkgver=12.10
pkgrel=1
pkgdesc="Songs archive for Musical MIDI Accompaniment (MMA)"
url="http://www.mellowood.ca/mma/"
depends=()
license=('GPL')
arch=('any')
DLAGENTS=('http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 --user-agent "Mozilla/4.0" -o %o %u')
source=(http://www.mellowood.ca/mma/examples/mma-songs-$pkgver.tar.gz)
md5sums=('3cb37b70f647c5293bc6aaa1ce0e6542')
build() {
mkdir -p $pkgdir/usr/share/mma/songs
cp -r $srcdir/$pkgname-$pkgver/* $pkgdir/usr/share/mma/songs
}
@kolewu
Copy link
Author

kolewu commented Apr 1, 2013

fix the curl download cause the website gives an error if called without the mozilla user-agent header

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment