mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-13 23:09:06 +08:00
41 lines
1.2 KiB
Bash
41 lines
1.2 KiB
Bash
#
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
|
|
|
pkgname=performous
|
|
_pkgname=Performous
|
|
pkgver=0.7.0
|
|
pkgrel=4
|
|
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-libs' 'cairo' 'ffmpeg' 'glew' 'imagemagick' 'jack' 'libjpeg' 'libpng' 'librsvg' 'libxml++' 'opencv' 'portaudio' 'portmidi' 'sdl')
|
|
makedepends=('boost' 'cmake' 'help2man' 'tar')
|
|
optdepends=('performous-songs: some songs for Performous')
|
|
changelog=ChangeLog
|
|
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
|
|
md5sums=('60f3f72b51a630a4aa996484aedb9526')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
mkdir -p build && cd build
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
..
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver/build
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
# Licensing information.
|
|
cd ..
|
|
install -Dm644 docs/Authors.txt $pkgdir/usr/share/licenses/$pkgname/Authors.txt
|
|
install -Dm644 docs/License.txt $pkgdir/usr/share/licenses/$pkgname/License.txt
|
|
}
|