diff options
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 |