mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
36 lines
963 B
Bash
36 lines
963 B
Bash
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
|
# Contributor: Allan McRae <allan@archlinux.org>
|
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - configure with --disable-mmx
|
|
|
|
pkgname=sdl_gfx
|
|
pkgver=2.0.27
|
|
pkgrel=1
|
|
pkgdesc="SDL graphics drawing primitives and other support functions"
|
|
url="https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/"
|
|
arch=(x86_64)
|
|
license=(LGPL)
|
|
depends=(sdl)
|
|
source=(https://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-${pkgver}.tar.gz)
|
|
sha256sums=('dfb15ac5f8ce7a4952dc12d2aed9747518c5e6b335c0e31636d23f93c630f419')
|
|
|
|
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
|
|
}
|
|
|
|
build() {
|
|
cd SDL_gfx-$pkgver
|
|
./configure --prefix=/usr --disable-mmx
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd SDL_gfx-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|