[PKGBUILD] update eask
This commit is contained in:
parent
284cfdae35
commit
ccaff4902a
@ -4,7 +4,7 @@ _pkgname=eask
|
|||||||
_orgname=emacs-eask
|
_orgname=emacs-eask
|
||||||
_nodepkgname=cli
|
_nodepkgname=cli
|
||||||
pkgname="nodejs-${_pkgname}"
|
pkgname="nodejs-${_pkgname}"
|
||||||
pkgver=0.8.3
|
pkgver=0.9.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Command-line tool for building and testing Emacs Lisp packages"
|
pkgdesc="Command-line tool for building and testing Emacs Lisp packages"
|
||||||
url="https://github.com/${_orgname}/${_pkgname}"
|
url="https://github.com/${_orgname}/${_pkgname}"
|
||||||
@ -13,7 +13,7 @@ arch=("any")
|
|||||||
depends=("nodejs")
|
depends=("nodejs")
|
||||||
makedepends=("npm")
|
makedepends=("npm")
|
||||||
source=("https://registry.npmjs.org/@${_orgname}/${_nodepkgname}/-/${_nodepkgname}-${pkgver}.tgz")
|
source=("https://registry.npmjs.org/@${_orgname}/${_nodepkgname}/-/${_nodepkgname}-${pkgver}.tgz")
|
||||||
sha256sums=('d63d7ab8b8f2c640d20c4cdba986a7b7595ca9972753659bfd6a511387f1b122')
|
sha256sums=('731d02178f9a364af7bcc59e400896ba0162db7b585959459d093a162f79e4c8')
|
||||||
noextract=("$_pkgname-$pkgver.tgz")
|
noextract=("$_pkgname-$pkgver.tgz")
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
@ -22,6 +22,7 @@ prepare() {
|
|||||||
|
|
||||||
package() {
|
package() {
|
||||||
npm i --location=global --cache "${srcdir}/npm-cache" --prefix "$pkgdir/usr" "$srcdir/$_nodepkgname-$pkgver.tgz"
|
npm i --location=global --cache "${srcdir}/npm-cache" --prefix "$pkgdir/usr" "$srcdir/$_nodepkgname-$pkgver.tgz"
|
||||||
install -Dm644 package/COPYING "$pkgdir/usr/share/licenses/$_pkgname/COPYING"
|
install -Dm644 package/COPYING "$pkgdir/usr/share/licenses/${_pkgname}/COPYING"
|
||||||
|
install -Dm644 package/README.md "$pkgdir/usr/share/doc/${_pkgname}/README.md"
|
||||||
# install -Dm644 <(nps eask) "$pkgdir/usr/share/bash-completion/completions/$_pkgname"
|
# install -Dm644 <(nps eask) "$pkgdir/usr/share/bash-completion/completions/$_pkgname"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user