Date: Wednesday, January 18, 2012 @ 21:37:38 Author: eric Revision: 146877
archrelease: copy trunk to staging-i686, staging-x86_64 Added: allegro/repos/staging-i686/ allegro/repos/staging-i686/PKGBUILD (from rev 146876, allegro/trunk/PKGBUILD) allegro/repos/staging-x86_64/ allegro/repos/staging-x86_64/PKGBUILD (from rev 146876, allegro/trunk/PKGBUILD) -------------------------+ staging-i686/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ staging-x86_64/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) Copied: allegro/repos/staging-i686/PKGBUILD (from rev 146876, allegro/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2012-01-19 02:37:38 UTC (rev 146877) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Ionut Biru <ib...@archlinux.org> +# Contributor: Tom Newsom <jeeps...@gmx.co.uk> +# Contributor: arjan <ar...@archlinux.org> + +pkgname=allegro +pkgver=5.0.5 +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' 'libgl' 'libjpeg') +makedepends=('cmake' 'mesa' 'freetype2') +source=(http://downloads.sourceforge.net/alleg/${pkgname}-${pkgver}.tar.gz) +md5sums=('4d879afe7062f7dc9b8913cba2e44bdf') + +build() { + cd "${srcdir}" + mkdir build && cd build + + cmake "../${pkgname}-${pkgver}" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DWANT_DOCS=OFF + + make +} + +package() { + cd "${srcdir}"/build + + make DESTDIR="${pkgdir}" install + + install -D -m644 ../${pkgname}-${pkgver}/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} Copied: allegro/repos/staging-x86_64/PKGBUILD (from rev 146876, allegro/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2012-01-19 02:37:38 UTC (rev 146877) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Ionut Biru <ib...@archlinux.org> +# Contributor: Tom Newsom <jeeps...@gmx.co.uk> +# Contributor: arjan <ar...@archlinux.org> + +pkgname=allegro +pkgver=5.0.5 +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' 'libgl' 'libjpeg') +makedepends=('cmake' 'mesa' 'freetype2') +source=(http://downloads.sourceforge.net/alleg/${pkgname}-${pkgver}.tar.gz) +md5sums=('4d879afe7062f7dc9b8913cba2e44bdf') + +build() { + cd "${srcdir}" + mkdir build && cd build + + cmake "../${pkgname}-${pkgver}" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DWANT_DOCS=OFF + + make +} + +package() { + cd "${srcdir}"/build + + make DESTDIR="${pkgdir}" install + + install -D -m644 ../${pkgname}-${pkgver}/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}