diff options
author | Jean Lucas | 2018-05-15 22:39:33 -0400 |
---|---|---|
committer | Jean Lucas | 2018-05-15 22:39:33 -0400 |
commit | 394c9a12119d0e2b22de1e30facce5f5368e7138 (patch) | |
tree | a442c0a49406f92c15cb63f816cdd1958958e775 | |
download | aur-onyx-git.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..203079faf888 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Wed May 16 02:39:24 UTC 2018 +pkgbase = onyx-git + pkgdesc = Decentralized messaging application based on PSS (git) + pkgver = 0.4.2+37+g84feff8 + pkgrel = 1 + url = https://mainframe.com + arch = any + license = MIT + makedepends = libicns + depends = yarn + conflicts = onyx + conflicts = onyx-bin + options = !strip + source = git+https://github.com/MainframeHQ/onyx.git + sha512sums = SKIP + +pkgname = onyx-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2f7d1cfb3ae4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Jean Lucas <jean@4ray.co> + +pkgname=onyx-git +pkgver=0.4.2+37+g84feff8 +pkgrel=1 +pkgdesc='Decentralized messaging application based on PSS (git)' +arch=(any) +url='https://mainframe.com' +license=(MIT) +depends=(yarn) +makedepends=(libicns) +conflicts=(onyx onyx-bin) +options=(!strip) +source=(git+https://github.com/MainframeHQ/onyx.git) +sha512sums=(SKIP) + +pkgver() { + cd $srcdir/onyx + git describe --tags | sed 's/v//;s/-/+/g' +} + +build() { + cd $srcdir/onyx + yarn + yarn build:binaries + yarn dist +} + +package() { + cd $srcdir/onyx + install -Dm 755 dist/Mainframe\ Alpha.AppImage $pkgdir/usr/bin/onyx + install -Dm 644 LICENSE $pkgdir/usr/share/licenses/onyx/LICENSE +} |