-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add PKGBUILD and installation instructions for Archlinux
Fixes: #215
- Loading branch information
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
pkgname='eask' | ||
pkgver=$(git tag --sort=-creatordate | head -n1).$(git rev-parse --short HEAD) | ||
pkgrel=1 | ||
pkgdesc='CLI for building, running, testing, and managing your Emacs Lisp dependencies' | ||
arch=('x86_64') | ||
makedepends=('npm') | ||
url='https://github.com/emacs-eask/cli' | ||
license=('GPL-3.0') | ||
|
||
prepare() { | ||
npm i && npm i pkg # `pkg` is not among deps | ||
npm run pkg-linux-x64 | ||
} | ||
|
||
package() { | ||
mkdir -p "$pkgdir/usr/bin" | ||
# ATM eask only works when `lisp` dir is installed together with the binary | ||
cp -r "${startdir}/lisp" "${startdir}/dist/eask" "$pkgdir/usr/bin" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters