summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5b5f64ecfc17a36a46c8a6e5888e10642c4d7f38 (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
#Maintainer: Jesse Jaara <gmail.com: jesse.jaara>

pkgname=legendofedgar
pkgver=1.24
pkgrel=1
pkgdesc="2D platformer: Venture across the world, battle fearsome creatures and solve puzzles to rescue your father."
arch=('i686' 'x86_64')
url="http://www.parallelrealities.co.uk/p/legend-of-edgar.html"
license=('GPL')
depends=('sdl_image' 'sdl_mixer' 'sdl_ttf' 'hicolor-icon-theme')
source=("https://github.com/riksweeney/edgar/releases/download/${pkgver}/edgar-${pkgver}-1.tar.gz")
md5sums=('4a16e9721fc9a22132fd8cb36e3082d1')

build() {
  cd "${srcdir}/edgar-${pkgver}"

  sed -e 's|$(PREFIX)/share/games/edgar/|$(PREFIX)/share/edgar/|' -i makefile
  make
}

package()
{
  cd "${srcdir}/edgar-${pkgver}"

  make DESTDIR="${pkgdir}" BIN_DIR="${pkgdir}/usr/bin/" DATA_DIR="${pkgdir}/usr/share/edgar/" install
}