summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarrat2015-08-05 22:59:04 +0200
committerNarrat2015-08-05 22:59:04 +0200
commitf288b7f0985e43db996c688fde7bbbad61c8cb00 (patch)
treeee37c645f5d5d356872d76d1c6f90d681743e3a1
downloadaur-f288b7f0985e43db996c688fde7bbbad61c8cb00.tar.gz
adom-noteye: Initial add
-rw-r--r--.SRCINFO25
-rw-r--r--LICENSE97
-rw-r--r--PKGBUILD54
3 files changed, 176 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..6a4c979124da
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = adom-noteye
+ pkgdesc = A roguelike game with a quest-centric, plot driven structure
+ pkgver = 1.2.0_pre23
+ pkgrel = 1
+ url = http://www.adom.de/
+ arch = i686
+ arch = x86_64
+ license = custom: "adom"
+ depends = ncurses
+ depends = mesa
+ depends = lua51
+ depends = libtinfo
+ depends = libcaca
+ depends = libmad
+ depends = libpng12
+ provides = adom
+ conflicts = adom
+ conflicts = adom-restricted
+ source = http://ancardia.us.to/download/adom_noteye_linux_ubuntu_32_1.2.0_pre23.tar.gz
+ source = LICENSE
+ sha1sums = 409e70770cd914c88c28560a817e0ed14b65a265
+ sha1sums = 51d28fe3f0420cd354113fd7ceb2a1a7abf1b069
+
+pkgname = adom-noteye
+
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 000000000000..192c6826abbf
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,97 @@
+I.A. Terms of use
+=================
+
+ You may use ADOM freely provided you acknowledge the following terms
+ and abide by them:
+
+ 1. ADOM must only be distributed in the packages created by
+ Thomas Biskup, the maintainer of the game. The packages
+ must remain complete and all components must not be altered
+ in any way.
+
+ 2. You may not charge more than $3 for the distribution of
+ ADOM (values as of November, 2001).
+
+ 3. You do not challenge ADOM's copyright in any way.
+
+ 4. If you distribute ADOM with a magazine, a CD-ROM distribution
+ or a similar medium, you abide by the terms defined in section
+ I.B.
+
+ 5. You follow all other licensing terms (as given by entering
+ 'adom -b' and 'adom -g').
+
+ 6. You acknowledge that the author of ADOM is in no way
+ responsible for damage done to your system due to ADOM usage.
+
+ 7. If you play ADOM for a prolonged amount of time and enjoy
+ it, you agree to abide by the terms of section I.C.
+
+
+ Failure to honor these terms will be a severe violation of the license
+ and could result in legal measures being taken if you are deemed
+ important enough to deserve it.
+
+
+I.B. Distributing ADOM in magazines, on disks, etc.
+===================================================
+
+ You can freely distribute ADOM with magazines, in game compilations,
+ etc. provided you abide by the following terms:
+
+ 1. You honor all terms listed in section I.A.
+
+ 2. You agree to notify the author of ADOM, Thomas Biskup, either
+ by email at creator@ancientdomainsofmystery.com or by sending
+ a written letter to the following address:
+
+ Thomas Biskup
+ Zu den Tannen 5
+ 58456 Witten
+ Germany
+
+ 3. You send two complimentary copies of your product (one for
+ actual examination and one for being stored in my safe) to the
+ address given under #2 (or, if it is an electronic publication,
+ to the email address given above).
+
+ Failure to do so will be a severe violation of this licensing agreement
+ and will incur legal measures.
+
+
+I.C. The Postcard Quest.
+========================
+
+ If you want to thank me (Thomas Biskup) for creating ADOM, maintaining it,
+ fixing all discovered bugs, providing support and generally spending a lot
+ of time on the game and if you are having fun with the game, please
+ consider rewarding my efforts by sending a postcard to the following
+ address from wherever you live:
+
+ Thomas Biskup
+ Zu den Tannen 5
+ 58456 Witten
+ Germany
+
+ I *love* receiving postcards from all over the world. Weigh the fun
+ ADOM gave you against the ten minutes you probably need to
+ write and send such a postcard -- and if you find that you like and
+ enjoy the game -- please do it. I'm really not asking much... am I?
+
+
+I.D. Licensing ADOM and other commercial ventures.
+==================================================
+
+ ADOM is an immensely successful game and I'm proud of that. Still, there
+ are things that still could be done. If you are member of a game
+ company and would like to publish a game that could easily be able to
+ rival the success of Diablo by Blizzard software, two things are
+ necessary:
+
+ 1. You need a competent team of programmers and artists.
+
+ 2. You need to be willing to license ADOM from me. If you are
+ interested in such a commercial venture email me at
+ creator@ancientdomainsofmystery.com.
+
+ Consider it if you work for a game company.
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..1d7fc32c40be
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,54 @@
+# Maintainer: Perttu Luukko <"perttu.luukko" followed by "@iki.fi">
+
+pkgname=adom-noteye
+pkgver=1.2.0_pre23
+pkgrel=1
+pkgdesc="A roguelike game with a quest-centric, plot driven structure"
+arch=('i686' 'x86_64')
+conflicts=('adom' 'adom-restricted')
+provides=('adom')
+depends=('ncurses' 'mesa' 'lua51' 'libtinfo' 'libcaca' 'libmad' 'libpng12')
+url="http://www.adom.de/"
+license=('custom: "adom"')
+sha1sums=('' '51d28fe3f0420cd354113fd7ceb2a1a7abf1b069')
+if [ "$CARCH" = x86_64 ]
+ then
+ _arch_link=64
+ sha1sums[0]='746dd07f1f39ff663f136daaa60a073c6feedf3e'
+ else
+ _arch_link=32
+ sha1sums[0]='409e70770cd914c88c28560a817e0ed14b65a265'
+fi
+
+source=(http://ancardia.us.to/download/adom_noteye_linux_ubuntu_${_arch_link}_${pkgver}.tar.gz LICENSE)
+
+package() {
+ install -m644 -D ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/adom/LICENSE
+ # Copy entire contents of the archive to /opt
+ install -d "${pkgdir}/opt"
+ cp -R "${srcdir}/adom" "${pkgdir}/opt/"
+ # Remove some bundled libs for which we have perfectly good versions available
+ cd "${pkgdir}/opt/adom/lib"
+ rm -f "${pkgdir}/opt/adom/lib/libFLAC.so.8"
+ rm -f "${pkgdir}/opt/adom/lib/libjpeg.so.8"
+ rm -f "${pkgdir}/opt/adom/lib/liblua5.1.so.0"
+ ln -s ../../../usr/lib/liblua5.1.so liblua5.1.so.0
+ #rm -f "${pkgdir}/opt/adom/lib/libmikmod.so.2"
+ # libnoteye.so we keep at this point
+ rm -f "${pkgdir}/opt/adom/lib/libogg.so.0"
+ #rm -f "${pkgdir}/opt/adom/lib/libSDL-1.2.so.0"
+ #rm -f "${pkgdir}/opt/adom/lib/libSDL_image-1.2.so.0"
+ #rm -f "${pkgdir}/opt/adom/lib/libSDL_mixer-1.2.so.0"
+ #rm -f "${pkgdir}/opt/adom/lib/libSDL_net-1.2.so.0"
+ #rm -f "${pkgdir}/opt/adom/lib/libtiff.so.4"
+ rm -f "${pkgdir}/opt/adom/lib/libvorbisfile.so.3"
+ rm -f "${pkgdir}/opt/adom/lib/libvorbis.so.0"
+ # Since the adom binary uses a relative RPATH, it's either
+ # this or patching the binary
+ install -d "${pkgdir}/usr/bin"
+ cat <<EOF > "${pkgdir}/usr/bin/adom"
+#!/bin/sh
+cd /opt/adom && ./adom
+EOF
+ chmod 755 "${pkgdir}/usr/bin/adom"
+}