diff options
author | Eugen Wissner <belka@caraus.de> | 2018-03-03 08:29:10 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-03 19:16:17 +0700 |
commit | 0d311892d99eeb9e0bcdd61da682edcaf953e132 (patch) | |
tree | cb02be160da92e2004b05d154bf4b275d8001ff4 /development/dmd/dmd.SlackBuild | |
parent | 96d601a2b21608d5069a576bc94dbf1c10ab4129 (diff) | |
download | slackbuilds-0d311892d99eeb9e0bcdd61da682edcaf953e132.tar.gz |
development/dmd: Updated for version 2.079.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/dmd/dmd.SlackBuild')
-rw-r--r-- | development/dmd/dmd.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/development/dmd/dmd.SlackBuild b/development/dmd/dmd.SlackBuild index ef8e7bcd5f..9ea53a1417 100644 --- a/development/dmd/dmd.SlackBuild +++ b/development/dmd/dmd.SlackBuild @@ -23,7 +23,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=dmd -VERSION=${VERSION:-2.078.3} +VERSION=${VERSION:-2.079.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -81,7 +81,14 @@ find $PKG/usr/include/dmd -name "*.S" -print0 | xargs -0 rm # Phobos. mv linux/lib${ARCHSUFFIX}/libphobos2.* $PKG/usr/lib${LIBDIRSUFFIX} mv src/phobos/std $PKG/usr/include/dmd -mv src/phobos/etc/* $PKG/usr/include/dmd/etc +mv src/phobos/etc/c $PKG/usr/include/dmd/etc +rm -r $PKG/usr/include/dmd/etc/c/zlib + +# DMD. +mv src/dmd/dmd $PKG/usr/include/dmd + +# Remove C/C++ sources. +find $PKG/usr/include/dmd \( -name "*.c" -or -name "*.h" \) -print0 | xargs -0 rm mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mv html/d/* $PKG/usr/doc/$PRGNAM-$VERSION |