blob: f7e271d1caab6a169bbf2dc9f736fee9d54fc0a0 (
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: "Amhairghin" Oscar Garcia Amor (https://ogarcia.me)
pkgname=wunderline
pkgver=4.1.7
pkgrel=1
pkgdesc="Wunderlist for your command line!"
arch=(any)
url="http://www.wunderline.rocks"
license=(MIT)
depends=('nodejs')
makedepends=('npm')
optdepends=()
source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
noextract=($pkgname-$pkgver.tgz)
sha256sums=('77b472889088461534f14399b1bf6fa334b78b05a9332283416d5bb5a9054c1d')
package() {
cd $srcdir
local _npmdir="$pkgdir/usr/lib/node_modules/"
mkdir -p $_npmdir
cd $_npmdir
npm install -g --prefix "$pkgdir/usr" $pkgname@$pkgver
rmdir "$pkgdir/usr/etc"
}
|