diff options
Diffstat (limited to 'xorg')
-rwxr-xr-x | xorg/debuild/debX11rdp.sh | 7 | ||||
-rw-r--r-- | xorg/debuild/x11rdp-files/DEBIAN/control | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/xorg/debuild/debX11rdp.sh b/xorg/debuild/debX11rdp.sh index dd80cbe9..23b1428e 100755 --- a/xorg/debuild/debX11rdp.sh +++ b/xorg/debuild/debX11rdp.sh @@ -10,16 +10,21 @@ 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.deb +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 index 59a3f94d..149e9a83 100644 --- a/xorg/debuild/x11rdp-files/DEBIAN/control +++ b/xorg/debuild/x11rdp-files/DEBIAN/control @@ -2,6 +2,6 @@ Package: x11rdp Version: DUMMYVERINFO Section: unknown Priority: optional -Architecture: all +Architecture: DUMMYARCHINFO Maintainer: Angulo Solido <packaging@angulosolido.pt> Description: X11rdp backend for the xrdp remote access server |