author | Carlos Aznarán Laos
<caznaranl@uni.pe> 2023-06-21 17:41:37 UTC |
committer | Carlos Aznarán Laos
<caznaranl@uni.pe> 2023-06-21 17:41:37 UTC |
parent | 614396e4a87274ca784047b38ae132e14217e45c |
.SRCINFO | +1 | -1 |
PKGBUILD | +14 | -6 |
diff --git a/.SRCINFO b/.SRCINFO index 09785b3..a076ec3 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = extremetuxracer pkgdesc = Downhill racing game starring Tux pkgver = 0.8.3 - pkgrel = 1 + pkgrel = 2 url = https://sourceforge.net/projects/extremetuxracer arch = x86_64 license = GPL diff --git a/PKGBUILD b/PKGBUILD index 15d849e..c29bb44 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,16 +7,24 @@ pkgname=extremetuxracer pkgver=0.8.3 -pkgrel=1 +pkgrel=2 pkgdesc="Downhill racing game starring Tux" -arch=('x86_64') +arch=(x86_64) url="https://sourceforge.net/projects/${pkgname}" -license=('GPL') -depends=('sfml' 'glu' 'freetype2') -makedepends=('csfml') -source=("https://downloads.sourceforge.net/${pkgname}/etr-${pkgver}.tar.xz") +license=(GPL) +depends=(sfml glu freetype2) +makedepends=(csfml) +source=(https://downloads.sourceforge.net/${pkgname}/etr-${pkgver}.tar.xz) sha512sums=('75b6f2b4d7260216fb8b5bee1412ed929712e6de04a3b32ecf65ad747c6bff30e5eb5bedde24dca0afaec816c847860d9c589c66cdff08aa4bdcec224e727f1f') +prepare() { + # Work-around for SFML 2.6.0-1. + # https://bugs.archlinux.org/task/78854 + if [ -d '/usr/pkgconfig/' ]; then + export PKG_CONFIG_PATH='/usr/pkgconfig/' + fi +} + build() { cd etr-${pkgver} ./configure --prefix=/usr