Skip to content

Commit

Permalink
add arch linux and d-apt to downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
wilzbach committed Apr 25, 2016
1 parent 7274ef6 commit fdc139b
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 5 deletions.
28 changes: 26 additions & 2 deletions download.dd
Expand Up @@ -10,7 +10,7 @@ $(TABLEC download-compilers,
$(TR
$(TD $(LINK2 #dmd , $(IMG compiler-dmd.png)))
$(TD $(LINK2 http://gdcproject.org/downloads , $(IMG compiler-gdc.svg)))
$(TD $(LINK2 https://github.com/ldc-developers/ldc/releases, $(IMG compiler-ldc.png)))
$(TD $(LINK2 https://github.com/ldc-developers/ldc#installation, $(IMG compiler-ldc.png)))
)
$(TR
$(TD
Expand Down Expand Up @@ -53,7 +53,7 @@ $(TABLEC download-compilers,
$(DIVC download-link, $(LINK2 http://gdcproject.org/, About) · $(LINK2 http://gdcproject.org/downloads, Download))
)
$(TD
$(DIVC download-link, $(LINK2 https://wiki.dlang.org/LDC, About) · $(LINK2 https://github.com/ldc-developers/ldc/releases, Download))
$(DIVC download-link, $(LINK2 https://wiki.dlang.org/LDC, About) · $(LINK2 https://github.com/ldc-developers/ldc#installation, Download))
)
)
)
Expand Down Expand Up @@ -132,6 +132,25 @@ $(LINK2 https://github.com/D-Programming-Language, D on GitHub)

$(HR)

$(H2 Third-party downloads)

These links are not maintained by the same people maintaining the official downloads.
$(BR)$(BR)

$(DOWNLOAD $(ARCHLINUX), $(LINK2 https://wiki.archlinux.org/index.php/D_(programming_language), Arch Linux), $(CONSOLE pacman -S dlang))

$(DOWNLOAD $(CHOCOLATEY), Chocolatey, $(CONSOLE choco install dmd))

$(DOWNLOAD $(GENTOO), $(LINK2 https://wiki.gentoo.org/wiki/Dlang, Gentoo), $(CONSOLE layman -f -a dlang))

$(DOWNLOAD $(HOMEBREW), Homebrew, $(CONSOLE brew install dmd))

$(DOWNLOAD $(UBUNTU) $(DEBIAN), Ubuntu/Debian, $(LINK2 http://d-apt.sourceforge.net/, APT repository)
$(CONSOLE sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list
wget -qO - http://dlang.org/d-keyring.gpg | sudo apt-key add -
sudo apt-get update && sudo apt-get install dmd-bin)
)

$(H2 Other Downloads)

$(UL
Expand Down Expand Up @@ -185,6 +204,10 @@ Macros:
OPENSUSE=$(LOGO opensuse, OpenSUSE)
OSX=$(LOGO apple, OSX Lion)
UBUNTU=$(LOGO ubuntu, Ubuntu)
ARCHLINUX=$(LOGO archlinux, Arch Linux)
GENTOO=$(LOGO gentoo, Gentoo)
HOMEBREW=$(LOGO homebrew, Homebrew)
CHOCOLATEY=$(LOGO chocolatey, Chocolatey)
WINDOWS=$(LOGO windows, Windows)

SBTN=$(SPANC sig_btn,$(BTN $1,$+)<br>$(BTN $1.sig,sig))
Expand All @@ -199,6 +222,7 @@ Macros:
$(DIVC download_paragraph, $(H3 $2) $3)
)
INSTALL_SCRIPT=$(DIVC download_paragraph, $(H3 Install Script) $(PRE $(CODE $1)))
CONSOLE=$(PRE $(CODE $1))
IMG=<img src="images/$1">

_= for sidebard subnavigation
Binary file added images/archlinux_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/chocolatey_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/gentoo_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/homebrew_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions posix.mak
Expand Up @@ -122,9 +122,9 @@ IMAGES=favicon.ico $(addprefix images/, \
d002.ico \
$(addprefix compiler-, dmd.png gdc.svg ldc.png) \
$(addsuffix .svg, icon_minus icon_plus hamburger dlogo faster-aa-1 faster-gc-1) \
$(addsuffix .png, apple_logo centos_logo d3 debian_logo dlogo \
fedora_logo freebsd_logo opensuse_logo ubuntu_logo windows_logo \
pattern github-ribbon \
$(addsuffix .png, archlinux_logo apple_logo centos_logo chocolatey_logo \
d3 debian_logo dlogo fedora_logo freebsd_logo gentoo_logo homebrew_logo \
opensuse_logo ubuntu_logo windows_logo pattern github-ribbon \
$(addprefix ddox/, alias class enum enummember function \
inherited interface module package private property protected \
struct template variable)) \
Expand Down

0 comments on commit fdc139b

Please sign in to comment.