mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/sdl_gfx to 2.0.26-4
This commit is contained in:
parent
fc4e6efd21
commit
a92d5223eb
1 changed files with 5 additions and 6 deletions
|
@ -3,17 +3,17 @@
|
|||
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - need --disable-mmx for ARM as well
|
||||
# - configure with --disable-mmx
|
||||
|
||||
pkgname=sdl_gfx
|
||||
pkgver=2.0.26
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="SDL graphics drawing primitives and other support functions"
|
||||
url="http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/"
|
||||
url="https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/"
|
||||
arch=(x86_64)
|
||||
license=(LGPL)
|
||||
depends=(sdl)
|
||||
source=(http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-${pkgver}.tar.gz)
|
||||
source=(https://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-${pkgver}.tar.gz)
|
||||
sha256sums=('7ceb4ffb6fc63ffba5f1290572db43d74386cd0781c123bc912da50d34945446')
|
||||
|
||||
prepare() {
|
||||
|
@ -26,8 +26,7 @@ prepare() {
|
|||
|
||||
build() {
|
||||
cd SDL_gfx-$pkgver
|
||||
./configure --prefix=/usr \
|
||||
$([[ $CARCH == x86_64 || ${CARCH} == arm || ${CARCH} == armv6h || ${CARCH} == armv7h || ${CARCH} == aarch64 ]] && echo --disable-mmx)
|
||||
./configure --prefix=/usr --disable-mmx
|
||||
make
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue