summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorelimpfor2017-04-18 16:57:38 -0400
committerelimpfor2017-04-18 16:57:38 -0400
commitfc3d0e770537125c6d21ee457c2bac9716cece28 (patch)
tree1bb1b8450ed2dcdbf6138332aa898c1a3a71972e
parent14901870a2405aadafaf9e4617225c02d05e95cd (diff)
downloadaur-fc3d0e770537125c6d21ee457c2bac9716cece28.tar.gz
updated to v.175s-newskey2 and make contrib
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD23
2 files changed, 20 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e16a60649e3..ddde4592056 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,16 @@
pkgbase = opmsg
pkgdesc = opmsg message encryption
- pkgver = 1.5s
+ pkgver = 1.75s
pkgrel = 1
url = https://github.com/stealth/opmsg
arch = x86_64
arch = i686
+ arch = armv7h
license = GPL3
depends = openssl
- source = https://github.com/stealth/opmsg/archive/rel-1.5s.tar.gz
- md5sums = c136b11c46c71e038aaf7169727d748b
+ conflicts = opmsg-git
+ source = https://github.com/stealth/opmsg/archive/rel-1.75s-newskey2.tar.gz
+ sha1sums = 9959faa3b3f07d55abd769d1ad5427be331893e6
pkgname = opmsg
diff --git a/PKGBUILD b/PKGBUILD
index 354c6c57f76..343acfe5806 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,30 @@
-# Maintainer: Moritz Lipp <mail@mlq.me>
+# Maintainer: Elimpfor <aur@s403.33mail.com>
pkgname=opmsg
-pkgver=1.5s
-_pkgver=rel-"${pkgver}"
+pkgver=1.75s
+_pkgver=rel-"${pkgver}"-newskey2
pkgrel=1
epoch=
pkgdesc="opmsg message encryption"
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'armv7h')
url="https://github.com/stealth/opmsg"
license=('GPL3')
depends=('openssl')
source=("https://github.com/stealth/${pkgname}/archive/${_pkgver}.tar.gz")
-md5sums=('c136b11c46c71e038aaf7169727d748b')
+sha1sums=('9959faa3b3f07d55abd769d1ad5427be331893e6')
+conflicts=('opmsg-git')
build() {
- cd "$pkgname-$_pkgver"
+ cd "$pkgname-$_pkgver/src"
make
+ make contrib
}
package() {
- cd "$pkgname-$_pkgver"
- install -D -m755 opmsg "$pkgdir/usr/bin/opmsg"
+ cd "${srcdir}/$pkgname-$_pkgver"
+ mkdir -p "$pkgdir/usr/share/opmsg"
+ install -D -m644 sample.config "$pkgdir/usr/share/opmsg"
+ cd "${srcdir}/$pkgname-$_pkgver/src"
+ install -D -m755 opmsg "$pkgdir/usr/bin/opmsg"
+ install -D -m755 opmux "$pkgdir/usr/bin/opmux"
+ install -D -m755 opcoin "$pkgdir/usr/bin/opcoin"
}