mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 15:37:14 +08:00
2c1f0ac13c
For some reason the version of Imagemagick in Chakra gets stuck on converting the 3rd layer of the .ico file, conversion of this layer has been temporarily disabled via a patch: 'no-x128-icon-since-old-imagemagick.diff'
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=redeclipse
|
|
pkgver=1.2
|
|
pkgrel=1
|
|
pkgdesc='A first-person shooter, built as a total conversion of Cube Engine 2.'
|
|
arch=(i686 x86_64)
|
|
url=http://redeclipse.net
|
|
license=(CCPL-by-sa ZLIB)
|
|
depends=(enet libgl mesa sdl sdl_image sdl_mixer zlib hicolor-icon-theme)
|
|
makedepends=('mesa' 'gzip' 'imagemagick')
|
|
source=(http://downloads.sourceforge.net/$pkgname/${pkgname}_${pkgver}_linux_bsd.tar.bz2
|
|
system-libs.diff
|
|
no-x128-icon-since-old-imagemagick.diff)
|
|
md5sums=('e133361f79be01782bf0bbc4c5a01236'
|
|
'f34900e6c8247754800d8fba0600dfb7'
|
|
'd6c0c52a0e217e21f8951426fe40db18')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname/src"
|
|
|
|
# Patches.
|
|
patch -uN Makefile $srcdir/system-libs.diff
|
|
patch -uN system-install.mk $srcdir/no-x128-icon-since-old-imagemagick.diff
|
|
|
|
# Compilation.
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname"
|
|
make -C src/ DESTDIR="$pkgdir" prefix=/usr system-install
|
|
|
|
# License.
|
|
install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
install -Dm644 trademark.txt "$pkgdir/usr/share/licenses/$pkgname/TRADEMARK"
|
|
}
|