summaryrefslogtreecommitdiff
path: root/extra/allegro4
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-18 23:14:49 +0000
committerroot <root@rshg054.dnsready.net>2011-10-18 23:14:49 +0000
commit791dde5091677cd6370690f9df9fb7cbdcfe0968 (patch)
tree44b8403e7782995a56c22f0fdacd13b227667bb1 /extra/allegro4
parentc4f201fd7208805c7ee00e0ee833d3cc505898ac (diff)
Tue Oct 18 23:14:48 UTC 2011
Diffstat (limited to 'extra/allegro4')
-rw-r--r--extra/allegro4/LICENSE26
-rw-r--r--extra/allegro4/PKGBUILD38
2 files changed, 64 insertions, 0 deletions
diff --git a/extra/allegro4/LICENSE b/extra/allegro4/LICENSE
new file mode 100644
index 000000000..497c56a8f
--- /dev/null
+++ b/extra/allegro4/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/allegro4/PKGBUILD b/extra/allegro4/PKGBUILD
new file mode 100644
index 000000000..eae85013f
--- /dev/null
+++ b/extra/allegro4/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 140690 2011-10-18 03:46:10Z eric $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Contributor: arjan <arjan@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"
+}