blob: f813d335aa10ec8015a8b4aff7f7202794919a6c (
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
|
# Maintainer: Jozef Riha <jose1711 at gmail dot com>
pkgname=pacapong
pkgver=1.3
pkgrel=4
pkgdesc="game combining pong, pacman and space invaders"
arch=('i686' 'x86_64')
license=('unknown')
url="http://kingpenguin.itch.io/pacapong"
#source=("pacapong_linux.zip::pacapong_linux.zip" "${pkgname}.sh" "${pkgname}.desktop")
source=("${pkgname}.sh" "${pkgname}.desktop")
nosource=(1)
depends_i686=(openal libxxf86vm glu libxrandr)
depends_x86_64=(lib32-openal lib32-glu)
package() {
cd $srcdir
# pacapong_linux.zip can be downloaded from http://kingpenguin.itch.io/pacapong - then place it to src directory
unzip pacapong_linux.zip
mkdir -p ${pkgdir}/usr/share/${pkgname}/assets
install -Dm644 ${srcdir}/${pkgname}/assets/* ${pkgdir}/usr/share/${pkgname}/assets
install -Dm755 ${srcdir}/${pkgname}/runner ${pkgdir}/usr/share/${pkgname}/runner
install -Dm755 ${srcdir}/${pkgname}.sh ${pkgdir}/usr/bin/${pkgname}
install -Dm644 $srcdir/${pkgname}/assets/icon.png $pkgdir/usr/share/pixmaps/${pkgname}.png
install -Dm644 $srcdir/${pkgname}.desktop $pkgdir/usr/share/applications/${pkgname}.desktop
}
md5sums=('780236c531d6a9cdfa8bec22c2f9757b'
'e2d8d6e33b04abf3161710df22d1098f')
|