summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/love/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/love/APKBUILD b/user/love/APKBUILD
new file mode 100644
index 000000000..03951c9ee
--- /dev/null
+++ b/user/love/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=love
+pkgver=11.5
+pkgrel=0
+pkgdesc="Lua-based game engine"
+url="https://www.love2d.org/"
+arch="all"
+license="Zlib AND BSD-3-Clause AND BSD-2-Clause AND MIT AND GPL-3.0+ WITH Bison-exception-2.2"
+depends=""
+makedepends="libmodplug-dev libtheora-dev libvorbis-dev lua5.3-dev mpg123-dev
+ openal-soft-dev sdl2-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://github.com/love2d/love/releases/download/$pkgver/love-$pkgver-linux-src.tar.gz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --with-lua=lua \
+ --with-luaversion=5.3
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="86fe29939e0d48317e742c99c80b1805821f91539c37d1701207585593b10e3a12f335dac9c25069e0de61a7c6af7c6d5e30bc36826c29f963df8f64084a9a5b love-11.5-linux-src.tar.gz"