blob: 5d2f6b5d04bb5d844d0b5f9c4c06501d8d836470 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Alfredo Luque <me@aluque.io>
pkgname='chrysalis-git'
pkgdesc='A graphical configuration tool for programmable keyboards. Git master'
pkgver=chrysalis.0.6.1.r2.g50fb61d
pkgrel=0
arch=('x86_64')
url='https://github.com/keyboardio/Chrysalis'
license=('GPL3')
depends=('yarn' 'npm' 'electron')
options=('!strip')
makedepends=('git')
source=('git+https://github.com/keyboardio/Chrysalis.git')
sha512sums=('SKIP')
pkgver() {
cd Chrysalis
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/Chrysalis"
mkdir -p $srcdir/usr
npm install
yarn build:linux
cd dist
mv *.AppImage chrysalis
}
package() {
mkdir -p "$pkgdir/usr/bin"
cp "$srcdir/Chrysalis/dist/chrysalis" "$pkgdir/usr/bin"
}
|