diff options
Diffstat (limited to 'xorg/debuild')
-rwxr-xr-x | xorg/debuild/debX11rdp.sh | 30 | ||||
-rw-r--r-- | xorg/debuild/x11rdp-files/DEBIAN/control | 7 | ||||
-rwxr-xr-x | xorg/debuild/x11rdp-files/DEBIAN/postinst | 18 |
3 files changed, 0 insertions, 55 deletions
diff --git a/xorg/debuild/debX11rdp.sh b/xorg/debuild/debX11rdp.sh deleted file mode 100755 index 23b1428e..00000000 --- a/xorg/debuild/debX11rdp.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash - -# receives version, release number and source directory as arguments - -VERSION=$1 -RELEASE=$2 -SRCDIR=$3 -PKGDEST=$4 - -PACKDIR=x11rdp-files -DESTDIR=$PACKDIR/opt -NAME=x11rdp -ARCH=$( dpkg --print-architecture ) - - -sed -i -e "s/DUMMYVERINFO/$VERSION-$RELEASE/" $PACKDIR/DEBIAN/control -sed -i -e "s/DUMMYARCHINFO/$ARCH/" $PACKDIR/DEBIAN/control -# need a different delimiter, since it has a path -sed -i -e "s,DUMMYDIRINFO,$SRCDIR," $PACKDIR/DEBIAN/postinst - -mkdir -p $DESTDIR -cp -Rf $SRCDIR $DESTDIR -dpkg-deb --build $PACKDIR $PKGDEST/${NAME}_$VERSION-${RELEASE}_${ARCH}.deb - -# revert to initial state -rm -rf $DESTDIR -sed -i -e "s/$VERSION-$RELEASE/DUMMYVERINFO/" $PACKDIR/DEBIAN/control -sed -i -e "s/$ARCH/DUMMYARCHINFO/" $PACKDIR/DEBIAN/control -# need a different delimiter, since it has a path -sed -i -e "s,$SRCDIR,DUMMYDIRINFO," $PACKDIR/DEBIAN/postinst diff --git a/xorg/debuild/x11rdp-files/DEBIAN/control b/xorg/debuild/x11rdp-files/DEBIAN/control deleted file mode 100644 index 149e9a83..00000000 --- a/xorg/debuild/x11rdp-files/DEBIAN/control +++ /dev/null @@ -1,7 +0,0 @@ -Package: x11rdp -Version: DUMMYVERINFO -Section: unknown -Priority: optional -Architecture: DUMMYARCHINFO -Maintainer: Angulo Solido <packaging@angulosolido.pt> -Description: X11rdp backend for the xrdp remote access server diff --git a/xorg/debuild/x11rdp-files/DEBIAN/postinst b/xorg/debuild/x11rdp-files/DEBIAN/postinst deleted file mode 100755 index 241103af..00000000 --- a/xorg/debuild/x11rdp-files/DEBIAN/postinst +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -X11DIR=DUMMYDIRINFO - -# make the /usr/bin/X11rdp symbolic link if it doesn't exist... -if [ ! -e /usr/bin/X11rdp ] -then - if [ -e $X11DIR/bin/X11rdp ] - then - ln -s $X11DIR/bin/X11rdp /usr/bin/X11rdp - else - clear - echo "There was a problem... the $X11DIR/bin/X11rdp binary could not be found. Did the compilation complete?" - echo "Stopped. Please investigate what went wrong." - exit - fi -fi - |