Skip to content

Commit

Permalink
🔧 FIX: Ensure package replaces nodejs-jsdoc
Browse files Browse the repository at this point in the history
  - Used provides, conflicts and replaces fields to safely remove and
    replace nodejs-jsdoc with jsdoc to ensure the package follows AUR
    guildlines
  - Bump pkgrel to 2
  - Regenerate .SRCINFO

On branch main
  - Changes to be committed:
    - modified:   .SRCINFO
    - modified:   PKGBUILD
  • Loading branch information
rossclarkartist committed Mar 30, 2022
1 parent 7653c07 commit 30a6f7f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
17 changes: 10 additions & 7 deletions .SRCINFO
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
pkgbase = nodejs-jsdoc
pkgbase = jsdoc
pkgdesc = An API documentation generator for JavaScript
pkgver = 3.6.7
pkgrel = 1
url = https://github.com/jsdoc3/$_name
pkgver = 3.6.10
pkgrel = 2
url = https://github.com/jsdoc3/jsdoc
arch = any
license = APACHE
makedepends = npm
depends = nodejs
source = https://registry.npmjs.org/jsdoc/-/jsdoc-3.6.7.tgz
sha256sums = c081fb764e73565c2fbc5cfb559c3d0a6a3d82d337dcf146ece76a2ea17b99b8
provides = nodejs-jsdoc
conflicts = nodejs-jsdoc
replaces = nodejs-jsdoc
source = https://registry.npmjs.org/jsdoc/-/jsdoc-3.6.10.tgz
sha512sums = 21d43ca694a8e4b299f68dccf8b28820af22d340c87b99ac0ef1b71bcd4a9bed5d872d17ace583d098bc1fad44960c848ff3bd2912e892029b00cf575fd08902

pkgname = nodejs-jsdoc
pkgname = jsdoc
5 changes: 4 additions & 1 deletion PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@

pkgname="jsdoc"
pkgver=3.6.10
pkgrel=1
pkgrel=2
pkgdesc="An API documentation generator for JavaScript"
url="https://github.com/jsdoc3/$pkgname"
arch=("any")
license=("APACHE")
provides=("nodejs-jsdoc")
conflicts=("nodejs-jsdoc")
replaces=("nodejs-jsdoc")
depends=("nodejs")
makedepends=("npm")
source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz")
Expand Down

0 comments on commit 30a6f7f

Please sign in to comment.