blob: ba87256d105ce231f0b22dda069a2ff1c5049450 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Elimpfor <aur@s403.33mail.com>
pkgname=opmsg-git
pkgver=r138.0683a06
pkgrel=1
epoch=
pkgdesc="opmsg message encryption"
arch=('x86_64' 'i686' 'armv7h')
url="https://github.com/stealth/opmsg"
license=('GPL3')
depends=('openssl')
makedepends=('git')
source=("${pkgname}::git+git://github.com/stealth/opmsg.git")
md5sums=('SKIP')
conflicts=('opmsg')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}/src"
make
make contrib
}
package() {
cd "${srcdir}/${pkgname}"
mkdir -p "$pkgdir/usr/share/opmsg"
install -D -m644 sample.config "$pkgdir/usr/share/opmsg"
cd "${srcdir}/${pkgname}/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"
}
|