summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorM0Rf302018-08-16 19:04:27 +0200
committerM0Rf302018-08-16 19:04:27 +0200
commitb1ed0f79447af323fc3cfcf60688c593a73d5425 (patch)
tree2e37ec7313a9f1c3c87f401469942efc31787dc5 /PKGBUILD
parent74bf2cd0a41de79e5091d7db8fd9406222c35f73 (diff)
downloadaur-b1ed0f79447af323fc3cfcf60688c593a73d5425.tar.gz
peerflix-server: 0.3.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c7b15e91a3b..950833cf515 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,9 +8,10 @@ arch=('i686' 'x86_64')
url="https://github.com/asapach/peerflix-server"
license=('MIT')
depends=('nodejs')
-makedepends=('nodejs-grunt-cli' 'bower' 'npm')
-source=(peerflix-server.sh
-peerflix-server.service)
+makedepends=('npm')
+source=($pkgname.service
+ $pkgname.sh
+)
conflicts=('peerflix-server-git')
options=('!strip')
@@ -19,11 +20,11 @@ package(){
local _npmdir="$pkgdir/usr/lib/node_modules/"
mkdir -p $_npmdir
cd $_npmdir
- npm install -g --prefix "$pkgdir/usr" --ignore-scripts --production peerflix-server@$pkgver
+ npm install -g --prefix "$pkgdir/usr" --ignore-scripts --production $pkgname@$pkgver
- install -Dm644 "${srcdir}/peerflix-server.service" "${pkgdir}/usr/lib/systemd/system/peerflix-server.service"
+ install -Dm644 "${srcdir}/$pkgname.service" "${pkgdir}/usr/lib/systemd/system/$pkgname.service"
install -Dm775 "${srcdir}/peerflix-server.sh" "${pkgdir}/usr/bin/peerflix-server"
}
-md5sums=('ea9702820f92bef0636a4f01d13dd348'
-'8eb4184190cd66435c3bda2435982422')
+md5sums=('c16f83bd40fe9905b51c3ffd073bbcd0'
+ 'ea9702820f92bef0636a4f01d13dd348')