summaryrefslogtreecommitdiff
path: root/development/dmd/dmd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/dmd/dmd.SlackBuild')
-rw-r--r--development/dmd/dmd.SlackBuild27
1 files changed, 13 insertions, 14 deletions
diff --git a/development/dmd/dmd.SlackBuild b/development/dmd/dmd.SlackBuild
index f6b0fe828c..c58984dcda 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.076.0}
+VERSION=${VERSION:-2.076.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,29 +64,28 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir $PKG/etc
-sed -e "s|%@P%/../../src/phobos -I%@P%/../../src/druntime/import|/usr/include/d|g" \
- -e "s|%@P%/../lib32|/usr/lib|" \
- -e "s|%@P%/../lib64|/usr/lib64|" \
- linux/bin${ARCHSUFFIX}/dmd.conf > $PKG/etc/dmd.conf
-rm linux/bin${ARCHSUFFIX}/dmd.conf
+sed -e "s|%@P%/../../src/phobos -I%@P%/../../src/druntime/import|/usr/include/dmd|g" \
+ -e "s|%@P%/../lib32|/usr/lib|" \
+ -e "s|%@P%/../lib64|/usr/lib64|" \
+ linux/bin${ARCHSUFFIX}/dmd.conf > $PKG/etc/dmd.conf
mkdir -p $PKG/usr/bin
-rm -f linux/bin${ARCHSUFFIX}/README.TXT
-mv linux/bin${ARCHSUFFIX}/* $PKG/usr/bin
+mv linux/bin${ARCHSUFFIX}/{dmd,dumpobj,obj2asm,ddemangle,dustmite,rdmd,dub} \
+ $PKG/usr/bin
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} $PKG/usr/include/d
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} $PKG/usr/include/dmd
# Runtime.
-mv src/druntime/src/{core,etc,object.d} $PKG/usr/include/d
-find $PKG/usr/include/d -name "*.S" -print0 | xargs -0 rm
+mv src/druntime/src/{core,etc,object.d} $PKG/usr/include/dmd
+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/d
-mv src/phobos/etc/* $PKG/usr/include/d/etc
+mv src/phobos/std $PKG/usr/include/dmd
+mv src/phobos/etc/* $PKG/usr/include/dmd/etc
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv html/* $PKG/usr/doc/$PRGNAM-$VERSION
+mv html/d/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild