diff options
author | Jean Lucas | 2018-08-01 15:59:18 -0400 |
---|---|---|
committer | Jean Lucas | 2018-08-01 15:59:18 -0400 |
commit | 80d148e02f18f11cc9137532b23b49c770b8c7cf (patch) | |
tree | 643811a88fd1edcc2d426ab02603f0f5037cb569 /PKGBUILD | |
download | aur-80d148e02f18f11cc9137532b23b49c770b8c7cf.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8c983f1c46ca --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Jean Lucas <jean@4ray.co> + +pkgname=taskbook +pkgver=0.1.1 +pkgrel=1 +pkgdesc='Tasks, boards & notes for the command-line habitat' +arch=(any) +url=https://github.com/klauscfhq/taskbook +license=(MIT) +depends=(nodejs) +makedepends=(npm) +conflicts=(taskbook-git) +source=($url/archive/v$pkgver.tar.gz) +sha512sums=(5390f75890167ed18adcbab8af7763411ff7e66393b476928e24b0ae987dd2bde2e4ac68b69487b287d1f21abcc05fc22507156b91e4b03c2cbee0dbfbcadfb1) + +build() { + cd taskbook-$pkgver + npm install +} + +package() { + install -d "$pkgdir"/usr/{lib/node_modules,bin} + cp -a taskbook-$pkgver "$pkgdir"/usr/lib/node_modules/taskbook + chmod +x "$pkgdir"/usr/lib/node_modules/taskbook/cli.js + ln -s /usr/lib/node_modules/taskbook/cli.js "$pkgdir"/usr/bin/taskbook + install -Dm 644 taskbook-$pkgver/license.md "$pkgdir"/usr/share/licenses/taskbook/LICENSE +} |