Created
September 5, 2017 01:53
-
-
Save anonymous/6dce60922389eb2dfc2fa4881cb825c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/PKGBUILD b/PKGBUILD | |
index 14d06dd..88aad33 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -6,8 +6,8 @@ | |
pkgname=dwarffortress-lnp-git | |
pkgver=43.05 | |
_pkgver=43_05 | |
-_dfhack_pkgrel=r1 | |
-pkgrel=1 | |
+_dfhack_pkgrel=r2 | |
+pkgrel=2 | |
epoch=0 | |
pkgdesc="Installer for the Lazy Newb Pack to run Dwarf Fortress. Includes vanilla dwarf fortress, dfhack and graphics" | |
arch=('x86_64') | |
@@ -110,15 +110,9 @@ prepare() { | |
cd $srcdir/dfhack/plugins | |
patch -uN CMakeLists.custom.txt $srcdir/dfhack-twbt.patch | |
- cd $srcdir/dfhack/plugins | |
- patch -uN CMakeLists.txt $srcdir/dfhack-visualizers.patch | |
- | |
cd $srcdir/Lazy-Newb-Pack-Linux/pack/df_linux | |
patch -uN distro_fixes.sh $srcdir/distro-fixes-64-bit.patch | |
- cd $srcdir/dfhack/plugins/stonesense | |
- git checkout 00f0782 | |
- | |
mkdir -p $srcdir/dfhack/plugins/df-twbt | |
cd $srcdir/df-twbt | |
rsync -av --progress $srcdir/df-twbt $srcdir/dfhack/plugins \ | |
@@ -159,6 +153,7 @@ build() { | |
} | |
package() { | |
mkdir -p "$pkgdir/opt/$pkgname" | |
+ mkdir -p "$srcdir/df_linux/hack/libs" | |
install -Dm755 "$srcdir/Lazy-Newb-Pack-Linux/pack/startlnp" "$pkgdir/opt/$pkgname/" | |
cp -r "$srcdir/Lazy-Newb-Pack-Linux/pack/df_linux" "$pkgdir/opt/$pkgname" | |
@@ -261,7 +256,7 @@ package() { | |
"$pkgdir/usr/share/icons/hicolor/128x128/apps/lnp.png" | |
for license in python-lnp/COPYING.txt dfhack/depends/protobuf/COPYING.txt \ | |
- dfhack/plugins/stonesense/LICENSE dfhack/LICENSE.rst \ | |
+ dfhack/LICENSE.rst \ | |
; do | |
install -DTm644 "$srcdir/$license" \ | |
"${pkgdir}/usr/share/licenses/${pkgname}/$license" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment