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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:40:10 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:40:09
  Author: felixonmars
Revision: 658556

archrelease: copy trunk to community-staging-x86_64

Added:
  guichan/repos/community-staging-x86_64/
  guichan/repos/community-staging-x86_64/PKGBUILD
    (from rev 658555, guichan/trunk/PKGBUILD)

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

Copied: guichan/repos/community-staging-x86_64/PKGBUILD (from rev 658555, guichan/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:40:09 UTC (rev 658556)
@@ -0,0 +1,32 @@
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+# Contributor: Bjørn Lindeijer <bjorn at lindeijer.nl>
+
+pkgname=guichan
+pkgver=0.8.2
+pkgrel=7
+pkgdesc="A portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL."
+arch=('x86_64')
+url="http://guichan.sourceforge.net/"
+license=('BSD')
+depends=('gcc-libs')
+makedepends=('sdl_image' 'allegro4' 'libgl' 'glut')
+options=('!strip')
+source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$pkgname/$pkgname-$pkgver.tar.gz)
+sha256sums=('eedf206eae5201eaae027b133226d0793ab9a287bfd74c5f82c7681e3684eeab')
+
+build() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  CXXFLAGS="-g" ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  make prefix="${pkgdir}"/usr install
+
+# Install the license, as required for BSD
+  install -m644 -D COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list