desktop/allegro/PKGBUILD

39 lines
1.2 KiB
Bash
Raw Normal View History

#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
# Contributor: Giuseppe Calà <jiveaxe@gmail.com>
pkgname=allegro
2012-07-12 04:39:32 +08:00
pkgver=5.0.7
2012-10-24 06:37:30 +08:00
pkgrel=2
pkgdesc="Portable library mainly aimed at video game and multimedia programming."
arch=('i686' 'x86_64')
url="http://alleg.sourceforge.net/"
license=('ZLIB')
2012-05-01 06:57:17 +08:00
depends=('alsa-lib' 'flac' 'freetype2' 'glibc' 'jack' 'libgl' 'libjpeg' 'libogg' 'libpng' 'libvorbis' 'libx11' 'libxau' 'libxcb' 'libxcursor' 'libxdmcp' 'libxext' 'libxfixes' 'libxpm' 'libxrender' 'libxxf86vm' 'libxxf86dga' 'libxcursor' 'libpng' 'openal' 'physfs' 'zlib')
makedepends=('cmake')
source=("http://downloads.sourceforge.net/alleg/${pkgname}-${pkgver}.tar.gz")
2012-07-12 04:39:32 +08:00
md5sums=('e4ed66093edf45497f45411488dd82e6')
build() {
cd "${srcdir}"
mkdir -p build && cd build
cmake "${srcdir}/${pkgname}-${pkgver}" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
make
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 "${srcdir}/${pkgname}-${pkgver}/LICENSE.txt" \
"${pkgdir}/usr/share/licenses/${pkgname}"
}
2012-07-12 04:39:32 +08:00