[arch-commits] Commit in sdl_gfx/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue May 19 07:49:40 UTC 2020


    Date: Tuesday, May 19, 2020 @ 07:49:39
  Author: felixonmars
Revision: 386040

archrelease: copy trunk to staging-x86_64

Added:
  sdl_gfx/repos/staging-x86_64/
  sdl_gfx/repos/staging-x86_64/PKGBUILD
    (from rev 386038, sdl_gfx/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: sdl_gfx/repos/staging-x86_64/PKGBUILD (from rev 386038, sdl_gfx/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 07:49:39 UTC (rev 386040)
@@ -0,0 +1,33 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=sdl_gfx
+pkgver=2.0.26
+pkgrel=5
+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=('7ceb4ffb6fc63ffba5f1290572db43d74386cd0781c123bc912da50d34945446')
+
+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
+}



More information about the arch-commits mailing list