desktop/performous/PKGBUILD

32 lines
1.0 KiB
Bash
Raw Normal View History

2012-05-05 21:34:22 +08:00
pkgname=performous
2016-02-06 19:54:27 +08:00
pkgver=1.1
pkgrel=4
2015-02-26 07:21:23 +08:00
pkgdesc='A free game like Singstar™, Rockband™ or Stepmania™'
arch=('x86_64')
url="http://$pkgname.org/"
license=('GPL2' 'custom: Menu song: CC:BY-SA.')
screenshot="http://performous.org/screenshots/Performous-0.4.0-Windows.jpg"
depends=('boost-libs' 'cairo' 'ffmpeg' 'glew' 'jack' 'libjpeg' 'libepoxy' 'libpng' 'librsvg' 'libxml++' 'opencv>=3.1.0' 'portaudio' 'portmidi' 'sdl2')
2015-02-26 07:21:23 +08:00
makedepends=('boost' 'cmake' 'help2man' 'tar')
optdepends=('performous-songs: some songs for Performous')
source=($pkgname-$pkgver.tar.gz::https://github.com/performous/${pkgname}/archive/${pkgver}.tar.gz
2016-02-06 19:54:27 +08:00
'cast-basic_istream-to-bool.patch')
sha256sums=('17d47da4092ffa0dc2087f69b8b9d4f920aa7d16ee80020bb5445f95d22b6a71'
'87ead053ac4e58253af0d9a9b2278071211560e67f9ec74976f12443239c249c')
2012-05-05 21:34:22 +08:00
build() {
2015-02-26 07:21:23 +08:00
cd $pkgname-$pkgver
mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
..
2012-05-05 21:34:22 +08:00
make
}
package() {
2015-02-26 07:21:23 +08:00
cd $srcdir/$pkgname-$pkgver/build
2014-10-10 00:38:16 +08:00
make DESTDIR="$pkgdir" install
2012-05-05 21:34:22 +08:00
}