# Maintainer (Arch): Laurent Carlier <lordheavym@gmail.com>
# Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=performous-freesongs
pkgver=20100713
pkgrel=4
pkgrel+=.parabola1
pkgdesc="A collection of free songs for performous game"
pkgdesc+=", without nonfree songs"
url="https://performous.org/songs.html"
arch=('any')
license=('GPL' 'CCPL')
source=(https://sourceforge.net/projects/performous/files/ultrastar-songs-libre/3/ultrastar-songs-libre-3.zip)
sha512sums=('820e3637a7b778c92ed1a8b925802134fa2146879b3e03e88cd412de5414635c90fe256dfaf984cfa3e8b07b7da8531dc3061b7c4e1bb4422127b469b2345e66')

prepare() {
  # remove nonfree songs
  rm -rv ${srcdir}/songs/libre/Thor\ -\ Free\ Software\ Song/
}

package() {
  install -d ${pkgdir}/usr/share/performous/songs
  cp -r ${srcdir}/songs ${pkgdir}/usr/share/performous/songs
}

