summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Littley2018-05-08 23:06:00 +0100
committerSamuel Littley2018-05-08 23:06:00 +0100
commit333220908bfbf38518df679e19a51f8e0cdf3800 (patch)
tree8a7e0831d6f5abc668d424bfef58929d34cacc39
parent90df393fc6234018d3de5daf63097c08ca99c079 (diff)
downloadaur-333220908bfbf38518df679e19a51f8e0cdf3800.tar.gz
Update package() per flacks' suggestion again :)
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 3 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 531ee458b690..80ec9788353a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = create-react-native-app
pkgdesc = Bootstrapping tool for React Native
pkgver = 1.0.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/react-community/create-react-native-app
arch = any
license = BSD-3-Clause
diff --git a/PKGBUILD b/PKGBUILD
index a13ca3259c50..f0780a4f31e6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: samuellittley <samuel.littley@toastwaffle.com>
pkgname=create-react-native-app
pkgver=1.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="Bootstrapping tool for React Native"
arch=(any)
url="https://github.com/react-community/create-react-native-app"
@@ -10,9 +10,6 @@ depends=('nodejs')
makedepends=('npm')
package() {
- cd $srcdir
- local _npmdir=$pkgdir/usr/lib/node_modules
- mkdir -p $_npmdir
- cd $_npmdir
npm install -g --prefix $pkgdir/usr $pkgname@$pkgver
+ find $pkgdir/usr -type d -exec chmod 755 {} +
}