summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Anderson2018-01-08 02:55:07 -0500
committerSean Anderson2018-01-08 02:55:07 -0500
commitd397d0dc0958633c6997e9313e5d85a921e6af10 (patch)
tree59cc4be557932f90670abab40855f59531b51e4c
downloadaur-d397d0dc0958633c6997e9313e5d85a921e6af10.tar.gz
Initial commit
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD79
2 files changed, 100 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..da4b931573d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = crawl-tiles
+ pkgdesc = Dungeon Crawl Stone Soup with graphical tiles and sound support
+ pkgver = 0.21.0
+ pkgrel = 1
+ url = https://crawl.develz.org/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = sdl2_image
+ depends = sdl2_mixer
+ depends = freetype2
+ depends = lua51
+ depends = sqlite
+ depends = glu
+ provides = crawl
+ conflicts = crawl
+ source = https://github.com/crawl/crawl/archive/0.21.0.tar.gz
+ md5sums = 0780da66a5afe5af8e6d3013bf9d950c
+
+pkgname = crawl-tiles
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..aacc7e6f96a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,79 @@
+# This is an example PKGBUILD file. Use this as a start to creating your own,
+# and remove these comments. For more information, see 'man PKGBUILD'.
+# NOTE: Please fill out the license field for your package! If it is unknown,
+# then please put 'unknown'.
+
+# Maintainer: Sean Anderson <seanga2@gmail.com>
+_srcname=crawl
+pkgname=crawl-tiles
+pkgver=0.21.0
+pkgrel=1
+epoch=
+pkgdesc="Dungeon Crawl Stone Soup with graphical tiles and sound support"
+arch=('i686' 'x86_64')
+url="https://crawl.develz.org/"
+license=('GPL')
+depends=(
+ 'sdl2_image'
+ 'sdl2_mixer'
+ 'freetype2'
+ 'lua51'
+ 'sqlite'
+ 'glu'
+)
+makedepends=()
+checkdepends=()
+optdepends=()
+provides=('crawl')
+conflicts=('crawl')
+backup=()
+options=()
+source=("https://github.com/crawl/$_srcname/archive/$pkgver.tar.gz")
+md5sums=('0780da66a5afe5af8e6d3013bf9d950c')
+
+
+prepare() {
+ cd "$_srcname-$pkgver/crawl-ref/source"
+
+ echo $_makeflags
+ echo $pkgver > util/release_ver
+}
+
+build() {
+ cd "$_srcname-$pkgver/crawl-ref/source"
+
+ make \
+ prefix=/usr \
+ bin_prefix=bin \
+ DESTDIR=$pkgdir \
+ SAVEDIR='~/.crawl' \
+ LUA_PACKAGE=lua51 \
+ TILES=y \
+ SOUND=y
+}
+
+# Tests cannot be run without a debug build.
+# To enable them, add the debug target to build()
+#check() {
+# cd "$_srcname-$pkgver/crawl-ref/source"
+# make -k test \
+# prefix=/usr \
+# bin_prefix=bin \
+# DESTDIR=$pkgdir \
+# SAVEDIR='~/.crawl' \
+# LUA_PACKAGE=lua51 \
+# TILES=y
+#}
+
+package() {
+ cd "$_srcname-$pkgver/crawl-ref/source"
+
+ make install \
+ prefix=/usr \
+ bin_prefix=bin \
+ DESTDIR=$pkgdir \
+ SAVEDIR='~/.crawl' \
+ LUA_PACKAGE=lua51 \
+ TILES=y \
+ SOUND=y
+}