summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViachaslau Khalikin2017-11-20 03:31:30 +0000
committerViachaslau Khalikin2017-11-20 03:31:30 +0000
commita7647511d72964e5e33a83fff3dc80a50c8dfd40 (patch)
treed223cb1e8301989f72c08c590561a53b40c3f50a
downloadaur-a7647511d72964e5e33a83fff3dc80a50c8dfd40.tar.gz
Initial import.
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD33
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..869b638c25f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+pkgbase = freedroidrpg-git
+ pkgdesc = a mature science fiction role playing game set in the future
+ pkgver = r1.a038585
+ pkgrel = 1
+ url = http://freedroid.sourceforge.net
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = mesa
+ depends = sdl_mixer
+ depends = sdl_image
+ depends = sdl_gfx
+ depends = libogg
+ depends = libvorbis
+ depends = libgl
+ depends = hicolor-icon-theme
+ depends = glu
+ depends = glew
+ optdepends = python
+ optdepends = lua
+ optdepends = espeak
+ provides = freedroidrpg
+ conflicts = freedroidrpg
+ source = freedroidrpg-git::git+https://gitlab.com/freedroid/freedroid-src.git
+ sha256sums = SKIP
+
+pkgname = freedroidrpg-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f70fd76b6b8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Viachaslau Khalikin <khalikin@yandex.by>
+
+pkgname='freedroidrpg-git'
+pkgver=r1.a038585
+pkgrel=1
+arch=('x86_64')
+depends=('sdl_mixer' 'sdl_image' 'sdl_gfx' 'libogg' 'libvorbis' 'libgl' 'hicolor-icon-theme' 'glu' 'glew')
+makedepends=('git' 'mesa')
+optdepends=('python' 'lua' 'espeak')
+pkgdesc="a mature science fiction role playing game set in the future"
+url="http://freedroid.sourceforge.net"
+license=("GPL")
+source=('freedroidrpg-git::git+https://gitlab.com/freedroid/freedroid-src.git')
+sha256sums=('SKIP')
+conflicts=('freedroidrpg')
+provides=('freedroidrpg')
+
+pkgver() {
+ cd $pkgname
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd $pkgname
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}