summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorM0Rf302018-03-13 14:46:54 +0100
committerM0Rf302018-03-13 14:46:54 +0100
commitf107411596a8f0bd44b25cd8671e6f1b37e8edb0 (patch)
tree140df26fe38c0fc930bab3f6571baa18ebbe4eb0 /PKGBUILD
parentc7958c6d490a1b03677d15b84ee818faa2aa7e26 (diff)
downloadaur-f107411596a8f0bd44b25cd8671e6f1b37e8edb0.tar.gz
openbazaar-git: updated
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 15 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cd68cd91416..c45363772aa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=openbazaar-git
pkgver=v2.1.1.rc3.r3.gfd062ea2
pkgrel=1
-pkgdesc="Front-end Electron application for talking with the OpenBazaar daemon (Latest devel version)"
+pkgdesc="Front-end Electron application for talking with the OpenBazaar daemon (Latest devel version)"
arch=(any)
url="https://github.com/OpenBazaar/openbazaar-desktop"
license=('MIT')
@@ -11,14 +11,14 @@ depends=(electron)
makedepends=(git npm)
conflicts=('openbazaar')
source=("${pkgname%%-git}::git+https://github.com/OpenBazaar/openbazaar-desktop.git"
- "${pkgname%%-git}.js"
- "${pkgname%%-git}.desktop"
+ "${pkgname%%-git}.js"
+ "${pkgname%%-git}.desktop"
)
install=${pkgname%%-git}.install
options=('!strip')
build(){
- cd $srcdir/${pkgname%%-git}
+ cd $srcdir/${pkgname%%-git}
npm install --silent
npm run build
npm prune --production
@@ -38,25 +38,25 @@ package(){
msg2 "Installing icons and desktop menu entry"
install -Dm644 ${pkgname%%-git}/imgs/icon.png $pkgdir/usr/share/pixmaps/${pkgname%%-git}2.png
install -Dm644 ${pkgname%%-git}.desktop $pkgdir/usr/share/applications/${pkgname%%-git}.desktop
-
+
# Cleanup
cd $pkgdir/$appdir
rm -rf .git*
rm -rf .travis
cp -rf prod/* js/
- find "${pkgdir}"/${appdir} \
- -name "bin" -prune -exec rm -r '{}' \; \
- -or -name "example" -prune -exec rm -r '{}' \; \
- -or -name "examples" -prune -exec rm -r '{}' \; \
- -or -name "test" -prune -exec rm -r '{}' \; \
- -or -executable -type f -exec rm -r '{}' \;
+ find "${pkgdir}"/${appdir} \
+ -name "bin" -prune -exec rm -r '{}' \; \
+ -or -name "example" -prune -exec rm -r '{}' \; \
+ -or -name "examples" -prune -exec rm -r '{}' \; \
+ -or -name "test" -prune -exec rm -r '{}' \; \
+ -or -executable -type f -exec rm -r '{}' \;
}
pkgver() {
- cd $srcdir/${pkgname%%-git}
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ cd $srcdir/${pkgname%%-git}
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
md5sums=('SKIP'
- '446ad1e41acd07468c3750a9027dc8f8'
- 'a278f17aa965510cadb534df49b245dd')
+ '446ad1e41acd07468c3750a9027dc8f8'
+'a278f17aa965510cadb534df49b245dd')