This repository has been archived by the owner on Jan 26, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
905 changed files
with
42,435 additions
and
223,091 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,88 @@ | ||
#ABUILD created by/создан: K900, k0009000 at gmail.com | ||
pkgname=0ad-data | ||
pkgver=alpha10 | ||
_pkgver=r11863-alpha | ||
pkgbuild=1 | ||
arch=('noarch') | ||
pkgname=0ad | ||
pkgver=alpha15 | ||
_pkgver=0.0.15-alpha | ||
pkgbuild=3 | ||
arch=('auto') | ||
|
||
shortdesc="A cross-platform, open source 3D strategy game" | ||
|
||
source=("http://releases.wildfiregames.com/0ad-$_pkgver-unix-data.tar.xz") | ||
source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz" | ||
"http://releases.wildfiregames.com/0ad-$_pkgver-unix-data.tar.xz") | ||
|
||
tags="games games-strategy" | ||
|
||
build_deps="cmake gloox" | ||
adddep="0ad-data" | ||
pkglist="data" | ||
|
||
|
||
|
||
|
||
build() | ||
{ | ||
go_src_dir | ||
|
||
if [ -z "$ARCH" ]; then | ||
case "$( uname -m )" in | ||
i?86) ARCH=i486 ;; | ||
arm*) ARCH=arm ;; | ||
*) ARCH=$( uname -m ) ;; | ||
esac | ||
fi | ||
|
||
if [ "$ARCH" = "i486" ]; then | ||
SLKCFLAGS="-O2 -march=i486 -mtune=i686" | ||
LIBDIRSUFFIX="" | ||
elif [ "$ARCH" = "i686" ]; then | ||
SLKCFLAGS="-O2 -march=i686 -mtune=i686" | ||
LIBDIRSUFFIX="" | ||
elif [ "$ARCH" = "x86_64" ]; then | ||
SLKCFLAGS="-O2 -fPIC" | ||
LIBDIRSUFFIX="64" | ||
else | ||
SLKCFLAGS="-O2" | ||
LIBDIRSUFFIX="" | ||
fi | ||
|
||
|
||
export CFLAGS="$SLKCFLAGS" | ||
export CXXFLAGS="$SLKCFLAGS" | ||
export CPPFLAGS="$SLKCFLAGS" | ||
export LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" | ||
|
||
sed -i 's/-mt//g' build/premake/extern_libs4.lua | ||
|
||
burn_patches | ||
install -d ${pkgdir}/opt/0ad | ||
cd build/workspaces/ | ||
./update-workspaces.sh | ||
cd gcc/ | ||
make CONFIG=Release | ||
|
||
go_src_dir | ||
install -d ${pkgdir}/opt/${pkgname} | ||
cp -r binaries/* ${pkgdir}/opt/${pkgname} | ||
rm -r ${pkgdir}/opt/${pkgname}/data/ | ||
rm -r ${pkgdir}/opt/${pkgname}/system/{test,*.a} | ||
|
||
install -D -m755 ${filedir}/${pkgname}.sh ${pkgdir}/usr/bin/${pkgname} | ||
install -D -m755 ${filedir}/${pkgname}-editor.sh ${pkgdir}/usr/bin/${pkgname}-editor | ||
|
||
install -D -m 0644 "${filedir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" | ||
install -D -m 0644 "${filedir}/${pkgname}-editor.desktop" "${pkgdir}/usr/share/applications/${pkgname}-editor.desktop" | ||
install -D -m 0644 "${filedir}/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png" | ||
} | ||
|
||
data() { | ||
pkgname="${p_pkgname}-data" | ||
shortdesc="Data files for 0ad" | ||
arch='noarch' | ||
custom_opts="skip_gendeps no_strip" | ||
} | ||
|
||
data_prep() { | ||
|
||
install -d ${pkgdir}/opt/0ad | ||
cp -r binaries/* ${pkgdir}/opt/0ad | ||
} | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Desktop Entry] | ||
Encoding=UTF-8 | ||
Categories=Game;StrategyGame; | ||
Name=0 A.D. Editor | ||
Name[es]=Editor de 0 A.D. | ||
Name[gl]=Editor do 0 A.D. | ||
Icon=0ad | ||
Exec=/usr/bin/0ad-editor | ||
Terminal=false | ||
Type=Application |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
cd /opt/0ad/system | ||
./pyrogenesis -editor |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Desktop Entry] | ||
Version=1.0 | ||
Name=0 A.D. | ||
Comment=A real-time strategy game of ancient warfare | ||
Comment[it]=Videogioco strategico in tempo reale di guerre antiche | ||
Exec=/usr/bin/0ad | ||
Icon=0ad | ||
Terminal=false | ||
Type=Application | ||
Categories=Game;StrategyGame; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
cd /opt/0ad/system | ||
./pyrogenesis $* |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,16 @@ | ||
# Package metadata | ||
#ABUILD created by/создан: khvalera, khvalera at narod.ru | ||
|
||
pkgname=NetworkManager | ||
pkgver=0.9.2.0 | ||
pkgbuild=2 | ||
arch=("auto") | ||
|
||
config_files="etc/NetworkManager/NetworkManager.conf" | ||
|
||
# Package description | ||
shortdesc=('Network Management daemon') | ||
longdesc=('Network Management daemon') | ||
|
||
# Source URL | ||
source=("http://ftp.gnome.org/pub/gnome/sources/NetworkManager/0.9/NetworkManager-${pkgver}.tar.bz2") | ||
|
||
# Tags | ||
tags=("network net-misc") | ||
|
||
# Manually-added dependencies | ||
adddep="ppp>=2.4.5 iptables dhcp wireless-tools wpa_supplicant rp-pppoe" | ||
|
||
# Build system | ||
BUILD_SYSTEM="autotools" | ||
BUILD_KEYS="--prefix=/usr \ | ||
--bindir=/usr/bin \ | ||
--sbindir=/usr/sbin \ | ||
--includedir=/usr/include \ | ||
--mandir=/usr/man \ | ||
--infodir=/usr/info \ | ||
--libdir=/usr/lib$LIBDIRSUFFIX \ | ||
--sysconfdir=/etc \ | ||
--localstatedir=/var \ | ||
--libexecdir=/usr/lib$LIBDIRSUFFIX/networkmanager \ | ||
--with-iptables=/usr/sbin/iptables \ | ||
--enable-more-warnings=no \ | ||
--disable-static \ | ||
--with-dhcpcd=no \ | ||
--with-dhclient=/sbin/dhclient \ | ||
--with-crypto=gnutls \ | ||
--with-distro=gentoo \ | ||
--disable-wimax" | ||
pkgbuild=3 | ||
arch=('noarch') | ||
|
||
INSTALL_KEYS="DESTDIR=${pkgdir}" | ||
shortdesc="NetworkManager (Virtual package.)" | ||
|
||
after_build() { | ||
set -e | ||
install -m644 "${filedir}/nm-system-settings.conf" "${pkgdir}/etc/NetworkManager/NetworkManager.conf" || exit 1 | ||
tags="net-misc virtual" | ||
|
||
# we don't need these docs | ||
rm -rf ${pkgdir}/usr/share/gtk-doc | ||
|
||
# I don't like camelcase in init.d: | ||
mv ${pkgdir}/etc/init.d/NetworkManager ${pkgdir}/etc/init.d/networkmanager | ||
set +e | ||
} | ||
adddep="networkmanager" | ||
|
||
build(){ | ||
echo "End build" | ||
} |
Oops, something went wrong.