blob: 9c342a5900cf0762564f922c9934430a4764c5e2 (
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
|
# Maintainer: Andrea Giammarchi <andrea.giammarchi@gmail.com>
pkgname=jsgtk
pkgrel=1
pkgver=0.10.0
pkgdesc="A simplified approach to GJS for Node.JS and JavaScript developers."
arch=('any')
url="https://github.com/WebReflection/jsgtk"
license=('MIT')
depends=('gjs')
source=(https://webreflection.github.io/jsgtk/archive/$pkgname-$pkgver.tar.gz)
md5sums=('284818847e28ad3f4f7bd7e858e98e34')
package() {
cd "${srcdir}/${pkgname}"
# Install program files
mkdir -p "${pkgdir}/usr/lib/${pkgname}"
cp -r jsgtk_modules "${pkgdir}/usr/lib/${pkgname}"
# Install a launcher
install -Dm755 ${pkgname}.sh "${pkgdir}/usr/bin/${pkgname}"
}
|