summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander F. Rødseth2019-03-27 10:18:16 +0100
committerAlexander F. Rødseth2019-03-27 10:18:16 +0100
commitec9b67ca9dfaacf5865356c1442fd89c5d4cc82a (patch)
tree333d8e56c3039d12a1a1e1a733921d88816e5a82
downloadaur-ec9b67ca9dfaacf5865356c1442fd89c5d4cc82a.tar.gz
Move from [community] to AUR in connection with the spring cleaning
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD46
2 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..448ce2ed730
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+# Generated by mksrcinfo v8
+# Wed Mar 27 09:15:57 UTC 2019
+pkgbase = dangerdeep
+ pkgdesc = Submarine simulator
+ pkgver = 0.3.0
+ pkgrel = 10
+ url = https://dangerdeep.sourceforge.net
+ arch = x86_64
+ license = GPL
+ makedepends = addinclude>=1.0
+ makedepends = mesa
+ makedepends = scons
+ makedepends = setconf
+ depends = dangerdeep-data
+ depends = fftw
+ depends = glu
+ depends = libgl
+ depends = sdl_image
+ depends = sdl_mixer
+ depends = sdl_net
+ source = https://downloads.sourceforge.net/sourceforge/dangerdeep/dangerdeep-0.3.0.tar.gz
+ sha256sums = bdab6b9b1c2b5f8e618f5c346965ec1f48c9edc9bff1d4f5ff7c8d235464283f
+
+pkgname = dangerdeep
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cec8aad4f72
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer:
+# Contributor: Alexander F Rødseth <xyproto@archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=dangerdeep
+pkgver=0.3.0
+pkgrel=10
+pkgdesc='Submarine simulator'
+arch=('x86_64')
+url='https://dangerdeep.sourceforge.net'
+license=('GPL')
+depends=('dangerdeep-data' 'fftw' 'glu' 'libgl' 'sdl_image' 'sdl_mixer' 'sdl_net')
+makedepends=('addinclude>=1.0' 'mesa' 'scons' 'setconf')
+source=("https://downloads.sourceforge.net/sourceforge/dangerdeep/dangerdeep-$pkgver.tar.gz")
+sha256sums=('bdab6b9b1c2b5f8e618f5c346965ec1f48c9edc9bff1d4f5ff7c8d235464283f')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ addinclude src/bspline_test.cpp cstdlib
+ addinclude -+ src/convoy.h memory
+ addinclude src/date.cpp stdio.h
+ addinclude src/date.cpp stdlib.h
+ addinclude -t src/faulthandler.h unistd
+ addinclude src/filehelper.cpp stdio.h
+ addinclude src/ocean_wave_generator.h stdlib
+ addinclude -+ src/ptrlist.h memory
+ addinclude -+ src/ptrvector.h memory
+ addinclude src/widget.cpp algorithm
+
+ setconf SConstruct ccflags=\'"$(pkg-config --cflags sdl x11) -w"\'
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ scons datadir=/usr/share/dangerdeep
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ scons installbindir="$pkgdir/usr/bin" datadir=/usr/share/dangerdeep install
+}
+
+# vim: ts=2 sw=2 et: