summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: de74785819cad43e3878ced054009ddb1b14761e (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
# Maintainer:  Vladimir LAVALLADE<erus.iluvatar+archlinux@gmail.com>
# Contributor: Rob McCathie <archaur at rmcc dot com dot au>
# Contributor: Renato Garcia <fgar.renato@gmail.com>
# Contributor: dale <dale@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: Jorge Barroso <jorge.barroso.11 at gmail dot com>
pkgname=pinball
pkgver=0.3.20201218
pkgrel=4
pkgdesc="The Emilia Pinball Project strives to fulfil your needs for a great pinball game in Linux"
arch=('x86_64')
url="http://pinball.sourceforge.net/"
license=('GPL2')
depends=('sdl_mixer' 'sdl_image' 'mesa' 'libtool')
install=pinball.install
source=("https://github.com/adoptware/pinball/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('61981c192630f3c99865dc3b3d095df94e97ede9d7df0e8d8601eb39eef54c6d')
options=(libtool)

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./bootstrap
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  libtool --finish "${pkgdir}"/usr/lib/pinball
}