[arch-commits] Commit in (5 files)

Eric Bélanger eric at archlinux.org
Mon Oct 17 03:23:36 UTC 2011


    Date: Sunday, October 16, 2011 @ 23:23:35
  Author: eric
Revision: 140544

Add legacy allegro package

Added:
  allegro4/
  allegro4/repos/
  allegro4/trunk/
  allegro4/trunk/LICENSE
  allegro4/trunk/PKGBUILD

----------+
 LICENSE  |   26 ++++++++++++++++++++++++++
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

Added: allegro4/trunk/LICENSE
===================================================================
--- allegro4/trunk/LICENSE	                        (rev 0)
+++ allegro4/trunk/LICENSE	2011-10-17 03:23:35 UTC (rev 140544)
@@ -0,0 +1,26 @@
+===================================
+============ Copyright ============
+===================================
+
+   Allegro is gift-ware. It was created by a number of people working in 
+   cooperation, and is given to you freely as a gift. You may use, modify, 
+   redistribute, and generally hack it about in any way you like, and you do 
+   not have to give us anything in return. However, if you like this product 
+   you are encouraged to thank us by making a return gift to the Allegro 
+   community. This could be by writing an add-on package, providing a useful 
+   bug report, making an improvement to the library, or perhaps just 
+   releasing the sources of your program so that other people can learn from 
+   them. If you redistribute parts of this code or make a game using it, it 
+   would be nice if you mentioned Allegro somewhere in the credits, but you 
+   are not required to do this. We trust you not to abuse our generosity.
+
+   Disclaimer:
+
+   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+   FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+   SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+   FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+   ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+   DEALINGS IN THE SOFTWARE.
+

Added: allegro4/trunk/PKGBUILD
===================================================================
--- allegro4/trunk/PKGBUILD	                        (rev 0)
+++ allegro4/trunk/PKGBUILD	2011-10-17 03:23:35 UTC (rev 140544)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: arjan <arjan at archlinux.org>
+
+pkgname=allegro4
+pkgver=4.4.2
+pkgrel=1
+pkgdesc="Portable library mainly aimed at video game and multimedia programming (legacy version)"
+arch=('i686' 'x86_64')
+url="http://alleg.sourceforge.net/"
+license=('custom')
+depends=('sh' 'jack' 'libxpm' 'libxxf86vm' 'libxxf86dga' 'libxcursor')
+makedepends=('cmake' 'libpng')
+source=(http://downloads.sourceforge.net/alleg/allegro-${pkgver}.tar.gz
+        LICENSE)
+md5sums=('4db71b0460fc99926ae91d223199c2e6'
+         'cd97e2992e8e66b9e6a449d832dc9c7a')
+
+build() {
+  cd "${srcdir}"
+  mkdir build && cd build
+
+  cmake "../allegro-${pkgver}" \
+  	-DCMAKE_BUILD_TYPE=Release \
+  	-DCMAKE_INSTALL_PREFIX=/usr \
+	-DWANT_DOCS=OFF
+
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+
+  make DESTDIR="${pkgdir}" install
+
+  install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


Property changes on: allegro4/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id




More information about the arch-commits mailing list