aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-08-25 21:50:00 +0000
committeralice <alice@ayaya.dev>2022-08-25 21:59:41 +0000
commit640b24b4f6e4319e759eef839c93c8c3b99bae04 (patch)
tree01c25f5c863b8844b720b732d01ce3070eb0be5a
parent3e6692f6c1e8f4ad04526f3e1cc0f03b229bd657 (diff)
downloadaports-640b24b4f6e4319e759eef839c93c8c3b99bae04.tar.gz
aports-640b24b4f6e4319e759eef839c93c8c3b99bae04.tar.bz2
aports-640b24b4f6e4319e759eef839c93c8c3b99bae04.tar.xz
community/love: upgrade to 11.4
-rw-r--r--community/love/APKBUILD35
1 files changed, 22 insertions, 13 deletions
diff --git a/community/love/APKBUILD b/community/love/APKBUILD
index ed71f839f2..45f2708c1c 100644
--- a/community/love/APKBUILD
+++ b/community/love/APKBUILD
@@ -1,28 +1,35 @@
# Contributor: Will Sinatra <wpsinatra@gmail.com>
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
pkgname=love
-pkgver=11.3
-pkgrel=2
+pkgver=11.4
+pkgrel=0
pkgdesc="A Lua 2D Graphics Library"
url="https://love2d.org"
# s390x: build failures on big endian
# riscv64 missing luajit
arch="all !s390x !riscv64"
license="Zlib"
-makedepends="libtool autoconf automake sdl2-dev zlib-dev openal-soft-dev
- freetype-dev libmodplug-dev mpg123-dev libvorbis-dev libtheora-dev luajit-dev
- lua-dev libx11-dev bash"
+makedepends="
+ freetype-dev
+ libmodplug-dev
+ libtheora-dev
+ libvorbis-dev
+ libx11-dev
+ luajit-dev
+ mpg123-dev
+ openal-soft-dev
+ sdl2-dev
+ zlib-dev
+ "
subpackages="$pkgname-doc"
-source="love-$pkgver.tar.gz::https://github.com/love2d/love/archive/$pkgver.tar.gz"
+source="https://github.com/love2d/love/releases/download/$pkgver/love-$pkgver-linux-src.tar.gz"
options="!check" #No checks
-prepare() {
- default_prepare
- platform/unix/automagic
- ./configure --prefix=/usr LDFLAGS="$LDFLAGS" lua_CFLAGS="-I/usr/bin/luajit" lua_LIBS="-L/usr/lib -lluajit-5.1"
-}
-
build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
make
}
@@ -30,4 +37,6 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="29add0ac858fc8fb2759151844f35be389c56dfd2dbf571a3e72b017ec80559060ea6ddcba25cf0234483414f1ba84fee0434879ce58f79d779b0365915c37ae love-11.3.tar.gz"
+sha512sums="
+a1669e353c216b0f8de862eef877a178618499c38b5ad91143ee64e543affea8fccb13af4ea4957d8698c65dd703e45095ae1069601c4d0ff98d34d71d70ffd3 love-11.4-linux-src.tar.gz
+"