2012-09-02 22:41:07 +00:00
|
|
|
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
2017-03-31 00:02:05 +00:00
|
|
|
# Contributor: Allan McRae <allan@archlinux.org>
|
2011-12-05 18:34:37 +00:00
|
|
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2019-08-25 21:22:37 +00:00
|
|
|
# - configure with --disable-mmx
|
2011-12-05 18:34:37 +00:00
|
|
|
|
|
|
|
pkgname=sdl_gfx
|
2023-12-13 20:09:48 +00:00
|
|
|
pkgver=2.0.27
|
|
|
|
pkgrel=1
|
2017-03-31 00:02:05 +00:00
|
|
|
pkgdesc="SDL graphics drawing primitives and other support functions"
|
2019-08-25 21:22:37 +00:00
|
|
|
url="https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/"
|
2018-11-13 19:37:02 +00:00
|
|
|
arch=(x86_64)
|
2017-03-31 00:02:05 +00:00
|
|
|
license=(LGPL)
|
|
|
|
depends=(sdl)
|
2019-08-25 21:22:37 +00:00
|
|
|
source=(https://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-${pkgver}.tar.gz)
|
2023-12-13 20:09:48 +00:00
|
|
|
sha256sums=('dfb15ac5f8ce7a4952dc12d2aed9747518c5e6b335c0e31636d23f93c630f419')
|
2011-12-05 18:34:37 +00:00
|
|
|
|
2018-11-18 17:08:05 +00:00
|
|
|
prepare() {
|
|
|
|
cd SDL_gfx-$pkgver
|
|
|
|
|
|
|
|
# shipped configure was not regenerated since 2.0.25, resulting in bad soname
|
|
|
|
# https://bugs.archlinux.org/task/60821
|
|
|
|
autoreconf -fvi
|
|
|
|
}
|
|
|
|
|
2011-12-05 18:34:37 +00:00
|
|
|
build() {
|
2017-03-31 00:02:05 +00:00
|
|
|
cd SDL_gfx-$pkgver
|
2019-08-25 21:22:37 +00:00
|
|
|
./configure --prefix=/usr --disable-mmx
|
2011-12-05 18:34:37 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2017-03-31 00:02:05 +00:00
|
|
|
cd SDL_gfx-$pkgver
|
|
|
|
make DESTDIR="$pkgdir" install
|
2011-12-05 18:34:37 +00:00
|
|
|
}
|