Commit 06a4c211 authored by chaves's avatar chaves
Browse files

Added 'performous' and 'performous-songs', based on Arch Linux's packages.

parent 67334794
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=performous-songs
pkgver=20110130
pkgrel=1
pkgdesc="A collection of free songs for performous game."
url="http://performous.org/songs.html"
arch=('any')
license=('CCPL:by-sa')
source=('http://sourceforge.net/projects/performous/files/ultrastar-songs-libre/3/ultrastar-songs-libre-3.zip')
md5sums=('350226f3f971b45666b421e2e782273b')
package() {
install -d ${pkgdir}/usr/share/performous/songs
cp -r ${srcdir}/songs ${pkgdir}/usr/share/performous/songs
}
\ No newline at end of file
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=performous
_pkgname=Performous
pkgver=0.6.1
pkgrel=1
pkgdesc='A free game like Singstar™, Rockband™ or Stepmania™.'
arch=('i686' 'x86_64')
url="http://$pkgname.org/"
license=('GPL2' 'custom: Menu song: CC:BY-SA.')
depends=('boost' 'sdl' 'jack' 'imagemagick' 'ffmpeg' 'glew' 'libxml++' 'portaudio' 'portmidi'
'opencv' 'librsvg' 'libjpeg' 'libpng' 'cairo')
makedepends=('cmake' 'help2man')
optdepends=('performous-songs: some songs for Performous.')
source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$_pkgname-$pkgver-Source.tar.bz2)
md5sums=('451a759de77984b5a699e91107fe52e2')
build() {
cd $srcdir/$_pkgname-$pkgver-Source
mkdir build && cd build
# Fix config loading with libxml++:
export LDFLAGS=${LDFLAGS/-Wl,--as-needed/}
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
..
make
}
package() {
cd $srcdir/$_pkgname-$pkgver-Source/build
make DESTDIR="$pkgdir" install
# Licensing information:
install -Dm644 $srcdir/$_pkgname-$pkgver-Source/docs/Authors.txt \
$pkgdir/usr/share/licenses/$pkgname/Authors.txt
install -Dm644 $srcdir/$_pkgname-$pkgver-Source/docs/License.txt \
$pkgdir/usr/share/licenses/$pkgname/License.txt
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment