summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGianluca Boiano2018-10-11 13:53:30 +0200
committerGianluca Boiano2018-10-11 13:53:30 +0200
commit2a000d11751fbea6295223cebc6a74745d2805ee (patch)
treed980a8e9c9298fb454aa3db367aa22b0d4d18bb8 /PKGBUILD
parent3e4f04ad1003fe9525ed6b2d1cac76a891c7e19a (diff)
downloadaur-2a000d11751fbea6295223cebc6a74745d2805ee.tar.gz
openbazaar-git: updated
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 13 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6df52f7f5fd..12543d31362 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: robertfoster
pkgname=openbazaar-git
-pkgver=v2.2.2.rc1.r0.g137cb661
+pkgver=v2.2.5.r12.gd08100dd
pkgrel=1
pkgdesc="Front-end Electron application for talking with the OpenBazaar daemon (Latest devel version)"
arch=(any)
@@ -13,12 +13,20 @@ conflicts=('openbazaar')
source=("${pkgname%%-git}::git+https://github.com/OpenBazaar/openbazaar-desktop.git"
"${pkgname%%-git}.js"
"${pkgname%%-git}.desktop"
+ ef26cd0e8014e09b3671500f92c8f1b0d0ebe340.patch
+ 0bf7d134dc13540b277c10fbd1efb8013aae603e.patch
+
)
install=${pkgname%%-git}.install
options=('!strip')
build(){
cd $srcdir/${pkgname%%-git}
+
+ # Some electron fixes
+ patch -Np1 -i ../ef26cd0e8014e09b3671500f92c8f1b0d0ebe340.patch
+ patch -Np1 -i ../0bf7d134dc13540b277c10fbd1efb8013aae603e.patch
+
npm install --silent
npm run build
npm prune --production
@@ -48,8 +56,7 @@ package(){
-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 '{}' \;
+ -or -name "test" -prune -exec rm -r '{}' \;
}
pkgver() {
@@ -59,4 +66,6 @@ pkgver() {
md5sums=('SKIP'
'446ad1e41acd07468c3750a9027dc8f8'
-'a278f17aa965510cadb534df49b245dd')
+ 'a278f17aa965510cadb534df49b245dd'
+ 'cc30e1a4742c4e671275842e8b450916'
+'72266e0d0f3e3137cbea70f0dade7bfc')