blob: c4b36d75f894dd9cc2a24036cd379fb0d214a09c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: SanskritFritz (gmail)
# Contributor: dreieck (AUR)
# Contributor: Christoph Zeiler
# Contributor: dale
# Contributor: Tom Newsom
# Contributor: Helder Correia
pkgname=toppler
pkgver=1.3
pkgrel=2
pkgdesc='A reimplementation of the classic jump & run game "Nebulus"'
arch=('i686' 'x86_64')
url="https://gitlab.com/roever/toppler/"
license=('GPL3')
depends=('gcc-libs' 'sdl2' 'sdl2_mixer' 'zlib')
makedepends=('gettext' 'gimp' 'imagemagick' 'libpng' 'povray')
optdepends=(
"${pkgname}-upstream-levels: The upstream levels as individual missions that can be played individually, and files that can be loaded into the level editor."
)
source=(
"https://gitlab.com/roever/toppler/-/archive/v$pkgver/toppler-v$pkgver.tar.gz"
"$pkgname.desktop"
)
sha256sums=(
'383f5e3a8ec880cdde073ef178ce217c98f2885c085d51fefdac46a9f99466cf'
'828b4f8f6901e757de8cce76473caa1064b2db1375330eee370b0eff79909e9a'
)
build() {
cd "$pkgname-v$pkgver"
make
}
package() {
cd "$pkgname-v$pkgver"
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 "dist/$pkgname.xpm" "$pkgdir/usr/share/pixmaps/$pkgname.xpm"
for _docfile in README.md doc/*; do
install -D -v -m644 "${_docfile}" "${pkgdir}/usr/share/doc/${pkgname}/${_docfile}"
done
# install -D -v -m644 'COPYING' "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.GPL3.txt"
}
|