summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBennett Piater2017-03-13 09:22:51 +0100
committerBennett Piater2017-03-13 09:22:51 +0100
commit73b164d64ead184ca7bf42548665d3d13d360c5e (patch)
tree14592a02ab4f629d9e17e150c5b206f4a422b05f
parentbf2daf2d76b6c84a45096256cd61e3e491164b2a (diff)
downloadaur-73b164d64ead184ca7bf42548665d3d13d360c5e.tar.gz
upgpkg: aursec 0.9.2-1
upstream release
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD26
2 files changed, 32 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 964dafb0e4e..fa1d3e84b3c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,8 @@
pkgbase = aursec
pkgdesc = Verify AUR package sources against hashes stored in a blockchain.
- pkgver = 0.9
- pkgrel = 2
+ pkgver = 0.9.2
+ pkgrel = 1
url = https://github.com/clawoflight/aursec
- install = aursec.install
arch = x86_64
arch = x86
arch = arm
@@ -17,12 +16,20 @@ pkgbase = aursec
depends = firejail
depends = geth
depends = vim
- source = https://github.com/clawoflight/aursec/releases/download/v0.9/aursec-v0.9.tar.gz
- source = https://github.com/clawoflight/aursec/releases/download/v0.9/aursec-v0.9.tar.gz.asc
+ source = https://github.com/clawoflight/aursec/releases/download/v0.9.2/aursec-v0.9.2.tar.gz
+ source = https://github.com/clawoflight/aursec/releases/download/v0.9.2/aursec-v0.9.2.tar.gz.asc
validpgpkeys = 871F10477DB3DDED5FC447B226C7E577EF967808
validpgpkeys = EF685CFEA6460909C7E1EE70A3BD44B344AAE1FD
- sha512sums = 6cdc05801def3295df5dc6bc0d0a87ed3dcae7dc4f9b640150f2b2d5f773d8a20ac9ea9e47e93bc5133230e3a549670e51400f6cabbea62b4153587e19157a5a
+ sha512sums = 98655923d8229e734a3d567cb54feea32190e33660295a5c3ef1dede42f3c717d0db69abc0351b288252a562e6a5fa4ae323c0184168cbdb8cecc995c7075f02
sha512sums = SKIP
pkgname = aursec
+ install = aursec.install
+ optdepends = aursec-tui: to manually inspect the blockchain.
+
+pkgname = aursec-tui
+ pkgdesc = Inspect the aursec blockchain
+ depends = python
+ depends = python-urwid
+ depends = aursec
diff --git a/PKGBUILD b/PKGBUILD
index bd713a7d903..9a609e4f9ca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Bennett Piater <bennett at piater dot name>
-pkgname=aursec
-pkgver=0.9
-pkgrel=2
+pkgname=(aursec aursec-tui)
+pkgver=0.9.2
+pkgrel=1
pkgdesc='Verify AUR package sources against hashes stored in a blockchain.'
arch=('x86_64' 'x86' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/clawoflight/$pkgname"
@@ -15,15 +15,16 @@ checkdepends=(shellcheck)
#changelog="CHANGELOG"
source=(https://github.com/clawoflight/aursec/releases/download/v$pkgver/$pkgname-v$pkgver.tar.gz{,.asc})
-sha512sums=('6cdc05801def3295df5dc6bc0d0a87ed3dcae7dc4f9b640150f2b2d5f773d8a20ac9ea9e47e93bc5133230e3a549670e51400f6cabbea62b4153587e19157a5a'
+sha512sums=('98655923d8229e734a3d567cb54feea32190e33660295a5c3ef1dede42f3c717d0db69abc0351b288252a562e6a5fa4ae323c0184168cbdb8cecc995c7075f02'
'SKIP')
validpgpkeys=('871F10477DB3DDED5FC447B226C7E577EF967808'
- 'EF685CFEA6460909C7E1EE70A3BD44B344AAE1FD')
-install=aursec.install
+ 'EF685CFEA6460909C7E1EE70A3BD44B344AAE1FD')
build() {
cd "$srcdir/$pkgname-$pkgver/aursec"
make
+ cd "$srcdir/$pkgname-$pkgver/tui"
+ make
}
check() {
@@ -31,7 +32,18 @@ check() {
make -k check
}
-package() {
+package_aursec() {
+ install=aursec.install
+ optdepends=("aursec-tui: to manually inspect the blockchain.")
+
cd "$srcdir/$pkgname-$pkgver/aursec"
make PREFIX="/usr" DESTDIR="$pkgdir/" install
+ }
+
+package_aursec-tui() {
+ pkgdesc='Inspect the aursec blockchain'
+ depends=(python python-urwid aursec)
+
+ cd "$srcdir/aursec-$pkgver/tui"
+ make PREFIX="/usr" DESTDIR="$pkgdir/" install
}