summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 14543ed03c5128b21c56cc5dfd10c7f47b3aa755 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: A Farzat <a@farzat.xyz>
_npmname=svg-join
_npmver=1.2.1
pkgname="$_npmname"
pkgver=1.2.1
pkgrel=1
pkgdesc="Join svg files in symbol collection."
arch=(any)
url="https://github.com/Climenty/svg-join#readme"
license=(MIT)
depends=('nodejs')
makedepends=('npm')
source=(https://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz)
noextract=($_npmname-$_npmver.tgz)
sha1sums=(fe9ce08fc8f64313f6f58abe7377582e7af26b87)

package() {
  npm install -g --prefix "$pkgdir/usr" "$srcdir/$_npmname-$_npmver.tgz"
  chown -R root:root "$pkgdir"
}

# vim:set ts=2 sw=2 et: