1. 17 Jul, 2019 2 commits
  2. 12 Jun, 2019 5 commits
  3. 29 Apr, 2019 1 commit
  4. 03 Oct, 2018 1 commit
  5. 24 Sep, 2018 1 commit
  6. 29 Jul, 2018 1 commit
  7. 21 Jun, 2018 1 commit
    • Oliver Smith's avatar
      newapkbuild: check arguments and improve usage() · a68354eb
      Oliver Smith authored
      Changes:
      * argument sanity checks:
        * `PKGNAME[-PKGVER] | SRCURL`
          * check if missing
          * check if specified more than once (see below)
        * specifying more than one buildtype flag
        * `-n` (set pkgname) without using SRCURL as last argument
        * `-s` (sourceforge source) without using PKGNAME as last argument
      * Typo fix: exist -> exists
      * `usage()`:
        * always print PKGNAME and PKGDESC (instead of NAME and DESC,
          NAME was used in one place and PKGNAME in another)
        * link to <https://spdx.org/licenses/>
        * `-m` (meson) flag was missing in short usage line at the top
        * indicate that the buildtypes are exclusive
        * `-c` flag: remove "to new directory" wording to make the
          message shorter (this should be obvious)
        * remove empty line at the end
      
      NOTE: Before this commit, the `PKGNAME[-PKGVER] | SRCURL` was allowed
      to be specified more than once, and the code looped over the arguments.
      But this was not documented in `usage()` and had unexpected results:
      
      ```
      $ newapkbuild first second third
      $ tree
      .
      ___ first
          ___ APKBUILD
          ___ first
          ___ ___ APKBUILD
          ___ ___ first
          ___ ___ ___ APKBUILD
          ___ ___ ___ src
          ___ ___ src
          ___ src
      ```
      a68354eb
  8. 24 May, 2018 2 commits
    • A. Wilcox's avatar
      newapkbuild: move checksum call to after fetch · 75b8caca
      A. Wilcox authored
      unpack will no longer unpack without a checksum, even with -f.  This
      means that newapkbuild will not be able to deduce what kind of build
      system is contained within, so the templates for CMake, Perl, etc are
      never used.
      
      This patch ensures checksumming is done right after fetch, so that
      unpack works properly.
      75b8caca
    • A. Wilcox's avatar
      newapkbuild: fix typo · db5ca299
      A. Wilcox authored
      db5ca299
  9. 07 May, 2018 2 commits
  10. 30 Dec, 2017 1 commit
  11. 28 Oct, 2017 1 commit
  12. 19 Oct, 2017 4 commits
  13. 28 Sep, 2017 1 commit
  14. 23 Jun, 2017 1 commit
  15. 19 May, 2017 1 commit
  16. 05 Apr, 2017 1 commit
  17. 22 Aug, 2016 1 commit
  18. 20 Aug, 2016 1 commit
  19. 20 Jun, 2016 1 commit
    • Sören Tempel's avatar
      newapkbuild: redirect find(1) stderr to /dev/null · 4bfb5c8f
      Sören Tempel authored
      If $sdir is not defined find writes an error message to stderr. For
      example when running:
      
      	newapkbuild -n foo -a foo
      
      You will see a find error message because no source url was provided.
      This commit silences any find error message. An alternative solution
      would be to not invoke find unless $sdir is set.
      4bfb5c8f
  20. 13 Jun, 2016 4 commits
  21. 23 Mar, 2016 1 commit
  22. 22 Feb, 2016 1 commit
    • Michael Zuo's avatar
      newapkbuild: remove default prepare() · d1ab7ed4
      Michael Zuo authored
      Do not add prepare() to new APKBUILDs in the future, as this
      functionality is superseded by the addition of the default prepare
      patcher in abuild.
      d1ab7ed4
  23. 30 Nov, 2015 2 commits
  24. 15 Sep, 2015 1 commit
  25. 27 May, 2015 1 commit
    • Isaac Dunham's avatar
      newapkbuild: add CMake support. · 582b4778
      Isaac Dunham authored
      This is a first try that *might* work for cross-compiling packages with
      an absolute bare minimum of requirements, if you're lucky.
      I can't debug that part further, but the references should help with it.
      582b4778
  26. 31 Mar, 2014 1 commit