diff options
author | Mike H Benton | 2024-08-07 09:24:00 -0400 |
---|---|---|
committer | Mike H Benton | 2024-08-07 09:24:00 -0400 |
commit | dab2e923c2884b083939f286ba73296038a2d732 (patch) | |
tree | b752ab33e47757a14d875b5acc17e21c06a50a36 | |
parent | 23b0ffdc82d9eefd06621fbe5e027de502f487a9 (diff) | |
download | aur-dab2e923c2884b083939f286ba73296038a2d732.tar.gz |
Updated to make shared and using of zlib and zstandard
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 11 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = libtmx-git pkgdesc = Loads .tmx tiled maps in your games. - pkgver = 160.1900b80 + pkgver = 1.10.0 pkgrel = 1 url = https://github.com/baylej/tmx/ arch = any @@ -9,8 +9,7 @@ pkgbase = libtmx-git depends = zlib depends = libxml2 provides = libtmx - source = libtmx-git::git://github.com/baylej/tmx.git + source = libtmx-git::git+https://github.com/baylej/tmx.git sha512sums = SKIP pkgname = libtmx-git - @@ -1,17 +1,19 @@ -# Maintainer: Danny Holman <dholman@gymli.org> +# Maintainer: Mike H Benton <bikepunk005 at hotmail dot com> +# Contributor: Danny Holman <dholman@gymli.org> # Contributor: Kilian Köppchen <kiliankoeppchen at gmail dot com> pkgname=libtmx-git provides=('libtmx') -pkgver=160.1900b80 +pkgver=209.11ffdcd pkgrel=1 -pkgdesc="Loads .tmx tiled maps in your games." +pkgdesc="A portable C library to load tiled maps in your games." arch=(any) url="https://github.com/baylej/tmx/" license=('BSD') -depends=('zlib' 'libxml2') +depends=('zlib' 'libxml2' 'zstd') makedepends=('cmake') -source=("$pkgname"::'git://github.com/baylej/tmx.git') -sha512sums=('SKIP') +CFLAGS+=" -ffat-lto-objects" +source=("$pkgname"::'git+https://github.com/baylej/tmx.git') +b2sums=('SKIP') pkgver() { cd "$pkgname" @@ -22,7 +24,7 @@ build() { cd $pkgname mkdir build cd build - cmake -DCMAKE_INSTALL_LIBDIR=/usr/lib -DCMAKE_INSTALL_PREFIX=/usr .. + cmake -DCMAKE_INSTALL_LIBDIR=/usr/lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=yes -DWANT_ZLIB=yes -DWANT_ZSTD=yes -DZSTD_PREFER_STATIC=no .. make } |