Date: Monday, October 17, 2011 @ 23:46:10 Author: eric Revision: 140690
db-move: moved allegro4 from [staging] to [extra] (x86_64) Added: allegro4/repos/extra-x86_64/ allegro4/repos/extra-x86_64/LICENSE (from rev 140686, allegro4/repos/staging-x86_64/LICENSE) allegro4/repos/extra-x86_64/PKGBUILD (from rev 140686, allegro4/repos/staging-x86_64/PKGBUILD) Deleted: allegro4/repos/staging-x86_64/ ----------+ LICENSE | 26 ++++++++++++++++++++++++++ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) Copied: allegro4/repos/extra-x86_64/LICENSE (from rev 140686, allegro4/repos/staging-x86_64/LICENSE) =================================================================== --- extra-x86_64/LICENSE (rev 0) +++ extra-x86_64/LICENSE 2011-10-18 03:46:10 UTC (rev 140690) @@ -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. + Copied: allegro4/repos/extra-x86_64/PKGBUILD (from rev 140686, allegro4/repos/staging-x86_64/PKGBUILD) =================================================================== --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2011-10-18 03:46:10 UTC (rev 140690) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Ionut Biru <ib...@archlinux.org> +# Contributor: Tom Newsom <jeeps...@gmx.co.uk> +# Contributor: arjan <ar...@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" +}