summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucki2018-01-10 13:00:42 +0100
committerLucki2018-01-10 13:00:42 +0100
commit58ac4f0429e251e2f5eecf6331cbcd0f79508f27 (patch)
treef67b66cdcd59b7c904d00a1a0ee820236e359550
parent4e7de2eb35067f13e9743e942708a2c8bdc14cc4 (diff)
downloadaur-58ac4f0429e251e2f5eecf6331cbcd0f79508f27.tar.gz
Make it build again…
…and remove gendesk to make it build in a container.
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD26
-rw-r--r--build_fix.patch12
-rw-r--r--lix.desktop10
4 files changed, 21 insertions, 38 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0b4bd3aef46..a73b8559056 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,27 +1,24 @@
-# Generated by mksrcinfo v8
-# Thu Jan 4 23:32:45 UTC 2018
pkgbase = lix
pkgdesc = An action-puzzle game inspired by Lemmings
pkgver = 0.9.7
- pkgrel = 1
+ pkgrel = 2
url = http://www.lixgame.com/
changelog = .CHANGELOG
arch = i686
arch = x86_64
license = custom:CC0
makedepends = git
- makedepends = gendesk
makedepends = dmd
makedepends = dub
depends = allegro
depends = enet
conflicts = lix-git
- source = lix::git+https://github.com/SimonN/LixD.git#tag=v0.9.7
+ source = lix::git+https://github.com/SimonN/LixD.git#commit=84d0e22a894ffb20c91acad8d5d33349e35e54c0
source = lix-music-1.zip::http://www.lixgame.com/dow/lix-music.zip
- source = build_fix.patch
+ source = lix.desktop
sha512sums = SKIP
sha512sums = 37349c98b739ea43c25137dd03865f1c9c41eec91e5edc109afd9d50ce3871bd0c7f63c3f3599a47bb4ef52f5bfd14e034010de0ac2aec5a9c0c83eaf0b89425
- sha512sums = 44fb9d70bd517ad6e3246840de1654c8c8ad6545536528ac1bcc34c64c11b30f0984c18e6a3d5a9f96b963f644ead586b85a5c0e8ebae80cf3e2a8408471e0a0
+ sha512sums = 52d49562cd9be4eec76b464153af1cce2211fdbd6113a6a60df042f7e8f7e6a8f1942df883dfaaa6c1bbfea004c4154d884dfa767e25fa3fadf9c58be1103fe6
pkgname = lix
diff --git a/PKGBUILD b/PKGBUILD
index 36acc90036c..b3b0f3934ba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,27 +3,16 @@
pkgname=lix
pkgver=0.9.7
-pkgrel=1
+pkgrel=2
+changelog=.CHANGELOG
conflicts=("${pkgname}-git")
-source=("${pkgname}::git+https://github.com/SimonN/LixD.git#tag=v${pkgver}"
+source=( #"${pkgname}::git+https://github.com/SimonN/LixD.git#tag=v${pkgver}"
+ "${pkgname}::git+https://github.com/SimonN/LixD.git#commit=84d0e22a894ffb20c91acad8d5d33349e35e54c0"
"${pkgname}-music-1.zip::http://www.lixgame.com/dow/lix-music.zip"
- "build_fix.patch")
+ "${pkgname}.desktop")
sha512sums=('SKIP'
'37349c98b739ea43c25137dd03865f1c9c41eec91e5edc109afd9d50ce3871bd0c7f63c3f3599a47bb4ef52f5bfd14e034010de0ac2aec5a9c0c83eaf0b89425'
- '44fb9d70bd517ad6e3246840de1654c8c8ad6545536528ac1bcc34c64c11b30f0984c18e6a3d5a9f96b963f644ead586b85a5c0e8ebae80cf3e2a8408471e0a0')
-
-prepare()
-{
- cd "${srcdir}"
-
- # generate .desktop-file
- gendesk -n -f --categories "Game"
-
- cd "${srcdir}/${pkgname}"
-
- # this is needed until the next release
- patch -p1 -i "${srcdir}/build_fix.patch"
-}
+ '52d49562cd9be4eec76b464153af1cce2211fdbd6113a6a60df042f7e8f7e6a8f1942df883dfaaa6c1bbfea004c4154d884dfa767e25fa3fadf9c58be1103fe6')
_pkgname=${pkgname}
# template start; name=lix; version=0.4;
@@ -31,9 +20,8 @@ pkgdesc="An action-puzzle game inspired by Lemmings"
arch=('i686' 'x86_64')
url="http://www.lixgame.com/"
license=('custom:CC0')
-changelog=.CHANGELOG
depends=('allegro' 'enet')
-makedepends=('git' 'gendesk' 'dmd' 'dub')
+makedepends=('git' 'dmd' 'dub')
build()
{
diff --git a/build_fix.patch b/build_fix.patch
deleted file mode 100644
index bbc1334d5a5..00000000000
--- a/build_fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/dub.json b/dub.json
-index fe833b4d..d63d615a 100644
---- a/dub.json
-+++ b/dub.json
-@@ -24,6 +24,7 @@
- "allegro_primitives",
- "allegro",
- ],
-+ "libs-linux": ["allegro-5"],
- "sourceFiles-windows": ["src\\icon.res"],
- "dflags-windows": ["-Jsrc\\icon.res"],
- "lflags-windows": ["-L/subsystem:windows"],
diff --git a/lix.desktop b/lix.desktop
new file mode 100644
index 00000000000..575f5ce7e73
--- /dev/null
+++ b/lix.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Name=Lix
+Comment=An action-puzzle game inspired by Lemmings
+Exec=lix
+Icon=lix
+Terminal=false
+StartupNotify=false
+Categories=Game;ActionGame;