diff options
author | Jonian Guveli | 2018-02-28 01:06:49 +0200 |
---|---|---|
committer | Jonian Guveli | 2018-02-28 01:06:49 +0200 |
commit | 3ecc69a03cd44d301520335f41bd1b309656d605 (patch) | |
tree | 925a463c373e06c59c92aabd0624a5ed1a9b0fe7 /PKGBUILD | |
parent | 93e451c4bf611f2cff763ddeb044b7804d20ce41 (diff) | |
download | aur-devdocs-git.tar.gz |
add correct license name
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -5,7 +5,7 @@ pkgrel=2 pkgdesc="API Documentation Browser" arch=("any") url="http://devdocs.io" -license=("GPL") +license=("MPL") depends=("ruby" "ruby-bundler" "curl" "nodejs" "coffee-script") makedepends=("git") provides=("devdocs-git") @@ -27,23 +27,22 @@ package() { cp -a "$srcdir/$pkgname" "$pkgdir/opt/$pkgname" sed -i "/ruby /d" "$pkgdir/opt/$pkgname/Gemfile" - + cp "$srcdir/devdocs-server.sh" "$pkgdir/opt/$pkgname/devdocs-server.sh" cp "$srcdir/devdocs-cli.sh" "$pkgdir/opt/$pkgname/devdocs-cli.sh" cp "$srcdir/devdocs.service" "$pkgdir/usr/lib/systemd/system/devdocs.service" - + ln -s "/opt/$pkgname/devdocs-server.sh" "$pkgdir/usr/bin/devdocs-server" ln -s "/opt/$pkgname/devdocs-cli.sh" "$pkgdir/usr/bin/devdocs-cli" - + mkdir -p "$pkgdir/opt/$pkgname/tmp" - + chown -R http:wheel "$pkgdir/opt/$pkgname/public" chown -R http:wheel "$pkgdir/opt/$pkgname/tmp" - + chmod -R g+w "$pkgdir/opt/$pkgname/public" chmod -R g+w "$pkgdir/opt/$pkgname/tmp" - + cd "$pkgdir/opt/$pkgname" && bundle install --path .bundle cd "$pkgdir/opt/$pkgname" && bundle exec thor assets:clean && bundle exec thor assets:compile } - |