From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/allegro/LICENSE | 26 ++++++++++++++++++++++++++ extra/allegro/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 extra/allegro/LICENSE create mode 100644 extra/allegro/PKGBUILD (limited to 'extra/allegro') diff --git a/extra/allegro/LICENSE b/extra/allegro/LICENSE new file mode 100644 index 000000000..497c56a8f --- /dev/null +++ b/extra/allegro/LICENSE @@ -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. + diff --git a/extra/allegro/PKGBUILD b/extra/allegro/PKGBUILD new file mode 100644 index 000000000..c7083b60f --- /dev/null +++ b/extra/allegro/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 91255 2010-09-25 13:05:55Z ibiru $ +# Maintainer: Ionut Biru +# Contributor: Tom Newsom +# Contributor: arjan + +pkgname=allegro +pkgver=4.4.1.1 +pkgrel=2 +pkgdesc="Portable library mainly aimed at video game and multimedia programming" +arch=('i686' 'x86_64') +url="http://alleg.sourceforge.net/" +license=('custom') +depends=('jack' 'libxpm' 'libxxf86vm' 'libxxf86dga' 'libxcursor' 'libpng') +makedepends=('cmake') +options=('!makeflags') +source=(http://downloads.sourceforge.net/alleg/${pkgname}-${pkgver}.tar.gz + LICENSE) +md5sums=('0f1cfff8f2cf88e5c91a667d9fd386ec' + 'cd97e2992e8e66b9e6a449d832dc9c7a') + +build() { + cd "${srcdir}" + mkdir build && cd build + + cmake "../${pkgname}-${pkgver}" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DWANT_DOCS=OFF + + make + make DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/" +} -- cgit v1.2.3-54-g00ecf