summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJesse Jaara2015-06-22 01:06:15 +0300
committerJesse Jaara2015-06-22 01:06:15 +0300
commit79e02e72f3e8ff98cbeb84a982150afd56c6073d (patch)
tree0b6d8b0cd7de0a2ad69a744d7d8a16407c8ddb0c /PKGBUILD
downloadaur-79e02e72f3e8ff98cbeb84a982150afd56c6073d.tar.gz
Import and update Legend of Edgar
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fdef72502d3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+#Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
+
+pkgname=legendofedgar
+pkgver=1.21
+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://sourceforge.net/projects/legendofedgar/"
+license=('GPL')
+depends=('sdl_image' 'sdl_mixer' 'sdl_ttf' 'hicolor-icon-theme')
+install=legendofedgar.install
+source=("https://github.com/riksweeney/edgar/releases/download/${pkgver}/edgar-${pkgver}-1.tar.gz")
+md5sums=('89b786bfcf81767a9447ddd397b943d5')
+
+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
+}
+