[arch-commits] Commit in soil/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:57:03 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:57:02
  Author: felixonmars
Revision: 658296

archrelease: copy trunk to community-staging-x86_64

Added:
  soil/repos/community-staging-x86_64/
  soil/repos/community-staging-x86_64/PKGBUILD
    (from rev 658294, soil/trunk/PKGBUILD)

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

Copied: soil/repos/community-staging-x86_64/PKGBUILD (from rev 658294, soil/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 12:57:02 UTC (rev 658296)
@@ -0,0 +1,37 @@
+# Maintainer: alucryd <alucryd at gmail dot com>
+# Contributor: Huulivoide <jesse dot jaara at gmail dot com>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase dot com>
+
+pkgname=soil
+pkgver=1.16
+pkgrel=5
+pkgdesc="A tiny C lib primarily for loading textures into OpenGL"
+arch=('x86_64')
+url="https://www.lonesock.net/soil.html"
+license=('CCPL')
+depends=('glibc')
+makedepends=('mesa')
+options=('!staticlibs')
+source=('https://www.lonesock.net/files/soil.zip')
+sha256sums=('a2305b8d64f6d636e36d669bbdb0ca5445d1345c754b3d61d3f037dad2e5f701')
+
+prepare() {
+  cd "Simple OpenGL Image Library"
+
+  sed 's/-Wall/-Wall -fPIC/' -i "projects/makefile/alternate Makefile.txt"
+  sed 's/1.07-20071110/1.16/' -i "projects/makefile/alternate Makefile.txt"
+}
+
+build() {
+  cd "Simple OpenGL Image Library/src"
+
+  make -f "../projects/makefile/alternate Makefile.txt"
+}
+
+package() {
+  cd "Simple OpenGL Image Library/src"
+
+  make -f "../projects/makefile/alternate Makefile.txt" DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list