sbopkg/tools
Erich Ritz 371284cd89
sbopkg: Use correct SlackBuild file name to build package
During package creation, most SlackBuilds copy the .SlackBuild file to
/usr/doc/$PKG/.  Previously, sbopkg would cause the "original"
SlackBuild instead of the "local" SlackBuild with user edits to be
copied to the documentation directory.  Now, sbopkg backs up the
original SlackBuild to $PKGNAME.SlackBuild.original before building the
package.

Old behavior:
1. Original (upstream) SlackBuild is named $PKGNAME.SlackBuild.
2. User optionally defines custom SlackBuild in
   $PKGNAME.SlackBuild.sbopkg.
3. sbopkg asks user to use Original or Local SlackBuild, and copies
   $PKGNAME.SlackBuild or $PKGNAME.SlackBuild.sbopkg to
   $PKGNAME.SlackBuild.build, respectively.
4. sbopkg builds package (which includes copying SlackBuild to
   /usr/doc/).
5. sbopkg removes *.build files.

New behavior:
1. Original (upstream) SlackBuild is named $PKGNAME.SlackBuild.
2. User optionally defines custom SlackBuild in
   $PKGNAME.SlackBuild.sbopkg.
3. sbopkg asks user to use Original or Local SlackBuild, and copies
   $PKGNAME.SlackBuild or $PKGNAME.SlackBuild.sbopkg to
   $PKGNAME.SlackBuild.build, respectively.
4. sbopkg backs up original SlackBuild by moving $PKGNAME.SlackBuild
   to $PKGNAME.SlackBuild.original.
5. sbopkg copies $PKGNAME.SlackBuild.build to $PKGNAME.SlackBuild.
6. sbopkg builds package (which includes copying SlackBuild to
   /usr/doc/).
7. sbopkg restores original SlackBuild by moving
   $PKGNAME.SlackBuild.original to $PKGNAME.SlackBuild.
8. sbopkg removes *.build files.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-01-12 07:53:02 +07:00
..
ChangeLog-current.txt tag and release 0.37.0 2013-12-09 15:18:45 +00:00
ChangeLog-latest.txt sbopkg: Use correct SlackBuild file name to build package 2018-01-12 07:53:02 +07:00
current-download RELEASE: 0.38.1. 2016-09-01 20:58:28 +07:00
current-package RELEASE: 0.38.1. 2016-09-01 20:58:28 +07:00
current-source RELEASE: 0.38.1. 2016-09-01 20:58:28 +07:00
current-version RELEASE: 0.38.1. 2016-09-01 20:58:28 +07:00
doinst.sh make README symlinks; modify build-related files 2011-03-10 04:17:52 +00:00
sbopkg8.html RELEASE: 0.38.1. 2016-09-01 20:58:28 +07:00
sbopkg-conf5.html RELEASE: 0.38.1. 2016-09-01 20:58:28 +07:00
sbopkg-help RELEASE: 0.38.1. 2016-09-01 20:58:28 +07:00
sbopkg.SlackBuild sqg: Added /usr/libexec to sbopkg.SlackBuild. 2017-03-10 13:45:08 +01:00
slack-desc RELEASE: 0.38.0. 2016-07-02 00:17:54 +07:00
sqg8.html sqg: Added manual page. 2017-06-25 15:58:26 +07:00
sspm Update all references to github. 2015-06-11 23:32:54 +07:00