-
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathPKGBUILD
More file actions
23 lines (20 loc) · 628 Bytes
/
PKGBUILD
File metadata and controls
23 lines (20 loc) · 628 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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')
options=('!strip') # node puts scripts into debug section, so we can't strip it
url='https://github.com/emacs-eask/cli'
license=('GPL-3.0')
prepare() {
npm i
}
build() {
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"
}