summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2a66538b8d6d36b3835d98bc270725e20e96c61c (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: Nathan Jensen <nathanjensen1@outlook.com>
# Contributor: Aaron Paden <aaronbpaden@gmail.com>
# Contributor: Natalia Portillo <claunia@clania.com>
pkgname=pcem
pkgver=17
pkgrel=4
pkgdesc="Emulator for various IBM PC computers and clones."
url="http://pcem-emulator.co.uk/"
arch=('x86_64' 'i686')
license=('GPL2')
depends=('wxwidgets-gtk3' 'openal' 'sdl2' 'alsa-lib')
source=("http://pcem-emulator.co.uk/files/PCemV${pkgver}Linux.tar.gz"
	"pcem.desktop")

build() {
  cd "${srcdir}"
  autoreconf
  ./configure --enable-alsa --enable-release-build --enable-networking --prefix=/usr
  make
}

package() {
  cd "${srcdir}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
  install -Dm644 pcem.desktop "$pkgdir/usr/share/applications/pcem.desktop"
}

# vim:set ts=2 sw=2 et:
sha256sums=('5b24cb5ce886ed53232385f46594146ba3f7d7eecda90f82892b2dce1cb2f1a4'
            'd9ff43a12d8a952415a508fa3469eed029893244f89c00eb0100230dbb0365c0')