Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions app-games/0ad/autobuild/build
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
)

abinfo "Creating installation directories ..."
install -dv "$PKGDIR"/usr/{bin,lib/0ad,share/0ad/data}
install -dv "$PKGDIR"/usr/{bin,lib/0ad,share/0ad/data/mods/public}

abinfo "Installing binaries ..."
install -Dvm755 "$SRCDIR"/binaries/system/pyrogenesis \
Expand All @@ -50,6 +50,9 @@ install -Dvm644 "$SRCDIR"/build/resources/0ad.appdata.xml \

abinfo "Installing game data ..."
tar xvf "$SRCDIR"/../data.tar.xz
install -dv "$PKGDIR"/usr/share/0ad/
cp -rv "$SRCDIR"/0ad-$PKGVER/binaries/data \
"$PKGDIR"/usr/share/0ad/

abinfo "Installing zh-lang mod ..."
cp -v "$SRCDIR"/../zh-lang.zip \
"$PKGDIR"/usr/share/0ad/data/mods/public/
7 changes: 5 additions & 2 deletions app-games/0ad/spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
VER=0.27.1
REL=1
SRCS="tbl::https://sourceforge.net/projects/zero-ad/files/releases/0ad-${VER}-unix-build.tar.xz \
file::rename=data.tar.xz::https://sourceforge.net/projects/zero-ad/files/releases/0ad-${VER}-unix-data.tar.xz"
file::rename=data.tar.xz::https://sourceforge.net/projects/zero-ad/files/releases/0ad-${VER}-unix-data.tar.xz \
file::rename=zh-lang.zip::https://releases.wildfiregames.com/locales/zh-lang-0.27.0.pyromod"
CHKSUMS="sha256::a0a5355eeb5968d24f283770736150d974dafecba07754d4662707dc17016bfb \
sha256::837e2d6ddf138b025fc02017245d7581a4bb84fd94b42c0e605d321b7017a998"
sha256::837e2d6ddf138b025fc02017245d7581a4bb84fd94b42c0e605d321b7017a998 \
sha256::a4c03d34857949c04574108ccedc672c4d45401e12d9b231731bdecedb0748aa"
CHKUPDATE="anitya::id=5830"