summaryrefslogtreecommitdiff
path: root/pcr/biblesync/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/biblesync/PKGBUILD')
-rw-r--r--pcr/biblesync/PKGBUILD12
1 files changed, 3 insertions, 9 deletions
diff --git a/pcr/biblesync/PKGBUILD b/pcr/biblesync/PKGBUILD
index ef07f1746..bf1aaae84 100644
--- a/pcr/biblesync/PKGBUILD
+++ b/pcr/biblesync/PKGBUILD
@@ -3,24 +3,18 @@
pkgname=biblesync
pkgver=1.1.2
-pkgrel=1
+pkgrel=2
pkgdesc="multicast shared co-navigation library for Bible programs"
url="http://sourceforge.net/projects/gnomesword/files/BibleSync/1.1.2/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('libutil-linux' 'gcc-libs')
makedepends=('cmake')
-source=("http://downloads.sourceforge.net/project/gnomesword/BibleSync/$pkgver/$pkgname-$pkgver.tar.gz"
-'PKGBUILD.sig'
-'PKGBUILD')
+source=("http://downloads.sourceforge.net/project/gnomesword/BibleSync/$pkgver/$pkgname-$pkgver.tar.gz")
validpgpkeys=('CB6E213A349B8DF9E96B622AC3F4FFCF3EAE8697') # PKGBUILD Maintainer's key
-sha512sums=('7725c8228e2dff79edaf065ff4d4816a6cf214d1d874817345cc4154142144bce479ca1ae871053886bff4f6610715a27bce81c25c2a636444d5873e93bfdc62'
-'SKIP'
-'SKIP')
+sha512sums=('7725c8228e2dff79edaf065ff4d4816a6cf214d1d874817345cc4154142144bce479ca1ae871053886bff4f6610715a27bce81c25c2a636444d5873e93bfdc62')
build() {
- gpg --verify PKGBUILD.sig PKGBUILD
- echo "Note: If the GPG verification fails, import the PKGBUILD maintainer's GPG key. See: https://wiki.parabola.nu/GnuPG#Import_key"
whirlpoolsum=('ae89ac316cc70415ec4e0e458e7d8173b5a59741475bf1638f90c1614618058a664118bbb22d931e936fb7c4a1e8b4897f75a1d9cb7538ab0d8b8b7b96c81da6')
[[ "$(openssl dgst -r -whirlpool $pkgname-$pkgver.tar.gz | awk '{print $1}')" = ${whirlpoolsum} ]] && echo "Whirlpool checksum passed." || { echo "Whirlpool checksum failed!!" ; exit 1; } # This is an added security layer. If SHA512 for some unlikely reason fails, whirlpool will check and abort if it too fails to match.
cd $pkgname-$pkgver