Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Chakra
Packages
desktop
Commits
859cdb45
Commit
859cdb45
authored
Aug 22, 2011
by
Adrián Chaves Fernández (Gallaecio)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Knights (adventure) from the AUR.
parent
4a592b88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
knightsgame/PKGBUILD
knightsgame/PKGBUILD
+37
-0
No files found.
knightsgame/PKGBUILD
0 → 100644
View file @
859cdb45
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Lauri Niskanen <ape@ape3000.com>
pkgname
=
knightsgame
_pkgname
=
knights
pkgver
=
017
pkgrel
=
1
pkgdesc
=
'Action game that was originally released for Amiga in 1994.'
arch
=(
'i686'
'x86_64'
)
url
=
'http://www.knightsgame.org.uk/'
license
=(
'GPL3'
)
depends
=(
'boost-libs>=1.35'
'curl'
'fontconfig'
'sdl'
)
makedepends
=(
'boost>=1.35'
)
options
=(
'!makeflags'
)
source
=(
"http://www.knightsgame.org.uk/files/
${
_pkgname
}
_
${
pkgver
}
_src.tar.gz"
)
md5sums
=(
'd03d4646dd2ed162c0dc602379c92bb6'
)
build
()
{
cd
${
_pkgname
}
_
${
pkgver
}
_src
sed
\
-e
's|-lboost_thread-mt|-lboost_thread|g'
\
-e
"s/KNIGHTS_BINARY_NAME = knights/KNIGHTS_BINARY_NAME =
$pkgname
/"
\
-e
"s/SERVER_BINARY_NAME = knights_server/SERVER_BINARY_NAME =
$pkgname
-server/"
\
-i
Makefile
make
PREFIX
=
/usr
}
package
()
{
cd
${
_pkgname
}
_
${
pkgver
}
_src
make
PREFIX
=
$pkgdir
/usr
install
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment