mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
#
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
|
|
# Contributor: Jesse Jaara <jesse.jaara@gmail.com>
|
|
|
|
pkgname=wizznic
|
|
pkgver=380
|
|
pkgrel=1
|
|
pkgdesc="Most awesome puzzlegame where you have to match bricks of the same kind, is not as easy as you may think."
|
|
arch=(x86_64)
|
|
url="http://wizznic.org/"
|
|
license=('GPL3')
|
|
depends=('sdl_mixer' 'sdl_image' 'mesa' 'glu' 'wget')
|
|
source=("http://contigrator.wizznic.org/jobs/Wizznic/builds/0380/output/Wizznic_src_build_380.tar.bz2")
|
|
|
|
build() {
|
|
cd "$srcdir/Wizznic_src_build_380"
|
|
export BUILD_NUMBER=380_CHAKRA
|
|
make -f Makefile.linux DATADIR=/usr/share/wizznic/ BINDIR=/usr/bin/
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/Wizznic_src_build_380"
|
|
|
|
make -f Makefile.linux DATADIR=$pkgdir/usr/share/wizznic/ BINDIR=$pkgdir/usr/bin/ MANDIR=$pkgdir/usr/share/man/ install
|
|
|
|
mkdir -p "${pkgdir}"/usr/share/{applications,pixmaps}
|
|
install -m644 tools/releaser/data/lin/wizznic.png "${pkgdir}"/usr/share/pixmaps/wizznic.png
|
|
install -m644 tools/releaser/data/lin/wizznic.desktop "${pkgdir}"/usr/share/applications/
|
|
}
|
|
|
|
md5sums=('c5666cbbc3e19b9f94ee9913cf89170a')
|