Commit c2db512f authored by Antoni Aloy Torrens's avatar Antoni Aloy Torrens Committed by Rasmus Thomsen

testing/xsoldier: new aport

parent 9277cc90
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=xsoldier
pkgver=1.8
pkgrel=0
pkgdesc="A space-based shoot'em up game"
url="http://www.interq.or.jp/libra/oohara/xsoldier/"
arch="all"
license="GPL-2.0-only"
makedepends="libx11-dev libxpm-dev"
subpackages="$pkgname-doc"
source="http://www.interq.or.jp/libra/oohara/xsoldier/xsoldier-$pkgver.tar.gz
xsoldier.desktop
xsoldier.xpm
"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--localstatedir=/var/games/xsoldier
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir"/xsoldier.desktop \
"$pkgdir"/usr/share/applications/xsoldier.desktop
install -Dm664 "$srcdir"/xsoldier.xpm \
"$pkgdir"/usr/share/pixmaps/xsoldier-icon.xpm
}
sha512sums="2f150c3ba31357cac03024146e3a02c9d69fbdaec8e8214284ee996a52eb58c4cf475192e38524f3e031d71a5f0c3b2c744ef1fc81a52eff8b0a9f44a48f8484 xsoldier-1.8.tar.gz
4681b43589ae4daf0840047279bf3ef0210a8d6a5341f7221b6e0d5da28f66f9f79cb30c455734722f277ad7ea29d6aa314c4fb641eaf0c87ba896871ea43111 xsoldier.desktop
de49e259b6e1e8a7481b6746c0620a635b7b2e989cb7c7a6170aba80a726bdee6e3be0614d0f40a8302d53fb86e17a6b97b260615e52cd287772bbe6ac4fee85 xsoldier.xpm"
[Desktop Entry]
Type=Application
Version=1.0
Name=X Soldier
Comment=Shoot 'em up game with the "not shooting" bonus
Keywords=Game;xsoldier;
Icon=xsoldier-icon
TryExec=xsoldier
Exec=xsoldier
Terminal=false
Categories=Game;
StartupNotify=true
/* XPM */
static char *xsoldier[] = {
/* columns rows colors chars-per-pixel */
"32 32 16 1",
" c black",
". c #191919",
"X c gray20",
"o c #00007f",
"O c #007f7f",
"+ c #7f0000",
"@ c #7f007f",
"# c #4c4c4c",
"$ c #666667",
"% c gray50",
"& c blue",
"* c cyan",
"= c red",
"- c gray60",
"; c #b2b2b2",
": c None",
/* pixels */
"$.: : :::::::::::::::::: : :O$",
"$Oo: : :::::::::::::::: : :O-$",
"%oOO:. : :::::::::::::: : :OO&$",
"%oO&X: : :::::::::::: : :O&&%$",
"$o&OOO: : :::::::::: : :O&OOO%",
"$OOO&Oo:. : : : : :oOO*&&$",
"XoO&OOOo: :: :: :: :oO&*O&O$",
". oOo&OOo: :....: :O*&OO&O.X",
" XO&OOOo: :X-$$X : :OOO&O&O.:.",
" :.oOO&O&O::#;#$X.::O&&&O&OO: ",
" : :.oOOO&Oo:#=+=+ :XO&OO*O.: ",
": : :.o&OOoOO===+++o*&O*O&o: : ",
":: : :.O&OOoO==+==+O&O&&Oo: : :",
"::: : :.oOO&&==++++&O*OOo: : ::",
":::: : :oOOOO===+=#OO&Oo:. : :::",
":::: : :X&OO=@@@@+OO&O : ::::",
"::::: : :oO#@&**&$OOO. : :::::",
"::::: : :oOOO@***O@O&Oo: : :::::",
":::: : :.OO&o=@$$@@OOoO.: : ::::",
"::: : :O&O&O==+=++oO&O& : : :::",
":: : :OOO&*&$==+=oOoOoOO. : ::",
" : :O&&O&OOX=+++.OO&OOOo: : ",
":: :O&O*OOO.:+==+:.OO&&oOO: ::",
" :..O&OO&&o.: ++. :.oOOO&Oo. : ",
" :X$O&O*Oo: : .. : : oOO&OO%.: ",
" :.$&O&o.: :: :: :.OO&O%.: ",
" :.#&OO.: : :: :: : .:oOoO$.: ",
" :.$OO : :::::::: : : O&O.: ",
" :.#o: : ::::::::::: : :.o%.: ",
" : X: : ::::::::::::: : #.: ",
" :: : :::::::::::::::: : :..: ",
":: :::::::::::::::::::: : : "
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment