diff options
author | Eric Hameleers <alien@slackware.com> | 2009-09-11 09:28:56 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2009-09-11 09:28:56 +0000 |
commit | 962c7de00bb702c1308b370b0020f084adb51d49 (patch) | |
tree | f697cac87034e7359c353244383ceaa7909928b5 /lxde/build | |
parent | 23f8441d7a6974edd644c55eec47268f5c04d1c4 (diff) | |
download | asb-962c7de00bb702c1308b370b0020f084adb51d49.tar.gz asb-962c7de00bb702c1308b370b0020f084adb51d49.tar.xz |
Mangle the SlackBuild that goes into doc
Diffstat (limited to 'lxde/build')
-rwxr-xr-x | lxde/build/gpicview.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lxde/build/gpicview.SlackBuild b/lxde/build/gpicview.SlackBuild index 2026ec1d..804173df 100755 --- a/lxde/build/gpicview.SlackBuild +++ b/lxde/build/gpicview.SlackBuild @@ -167,7 +167,11 @@ cat <<-EOINS >> $PKG/install/doinst.sh # Add documentation: mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true -cp -a $SRCDIR/$(basename $0) $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cat $SRCDIR/$(basename $0) | sed \ + -e "/^VERSION=/s/:-.*}/:-$VERSION}/" \ + -e "/^ARCH=/s/:-.*}/:-$ARCH}/" \ + -e "/^BUILD=/s/:-.*}/:-$BUILD}/" \ + > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION find $PKG/usr/doc -type f -exec chmod 644 {} \; |