summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Lucas2018-04-24 23:13:52 -0400
committerJean Lucas2018-04-24 23:21:14 -0400
commit99a1c9111cdaabb83b72e768169277ea6030438c (patch)
treed0bf9aed03ca8dc719150693c96e9c94447aa36f
parent9a0774797fabc668f5acf842d9ac63f36ccbd87d (diff)
downloadaur-99a1c9111cdaabb83b72e768169277ea6030438c.tar.gz
Don't strip the binary, add license
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD7
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index db81d1fbcbc5..b758cfe93420 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,15 @@
# Generated by mksrcinfo v8
-# Wed Apr 25 02:32:01 UTC 2018
+# Wed Apr 25 03:18:47 UTC 2018
pkgbase = onyx
pkgdesc = Decentralized messaging application based on PSS
pkgver = 0.4.2
- pkgrel = 1
+ pkgrel = 2
url = https://mainframe.com
arch = any
license = MIT
makedepends = libicns
depends = yarn
+ options = !strip
source = https://github.com/MainframeHQ/onyx/archive/v0.4.2.zip
sha512sums = 0c169df9d0e29677dc7621b5ffeee78d9ba41243e0122d4116bec93245f04be498208752e2432779f62f3c9ff551019cb436247cc34e9ea078cea1992f72e194
diff --git a/PKGBUILD b/PKGBUILD
index 392ec448744e..f2732d8dfd7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,14 @@
pkgname=onyx
pkgver=0.4.2
-pkgrel=1
+pkgrel=2
pkgdesc='Decentralized messaging application based on PSS'
arch=(any)
url='https://mainframe.com'
license=(MIT)
depends=(yarn)
makedepends=(libicns)
+options=(!strip)
source=(https://github.com/MainframeHQ/onyx/archive/v$pkgver.zip)
sha512sums=(0c169df9d0e29677dc7621b5ffeee78d9ba41243e0122d4116bec93245f04be498208752e2432779f62f3c9ff551019cb436247cc34e9ea078cea1992f72e194)
@@ -20,5 +21,7 @@ build() {
}
package() {
- install -Dm 755 $srcdir/onyx-$pkgver/dist/Mainframe\ Alpha.AppImage $pkgdir/usr/bin/onyx
+ cd $srcdir/onyx-$pkgver
+ install -Dm 755 dist/Mainframe\ Alpha.AppImage $pkgdir/usr/bin/onyx
+ install -Dm 644 LICENSE $pkgdir/usr/share/licenses/onyx/LICENSE
}