diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/biblesync/PKGBUILD | 36 | ||||
-rw-r--r-- | pcr/biblesync/PKGBUILD.sig | bin | 0 -> 543 bytes |
2 files changed, 36 insertions, 0 deletions
diff --git a/pcr/biblesync/PKGBUILD b/pcr/biblesync/PKGBUILD new file mode 100644 index 000000000..ef07f1746 --- /dev/null +++ b/pcr/biblesync/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697 +# Contributor: Stefan Husmann <stefan-husmann@t-online.de> + +pkgname=biblesync +pkgver=1.1.2 +pkgrel=1 +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') +validpgpkeys=('CB6E213A349B8DF9E96B622AC3F4FFCF3EAE8697') # PKGBUILD Maintainer's key +sha512sums=('7725c8228e2dff79edaf065ff4d4816a6cf214d1d874817345cc4154142144bce479ca1ae871053886bff4f6610715a27bce81c25c2a636444d5873e93bfdc62' +'SKIP' +'SKIP') + +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 + [[ -d build ]] || mkdir -p build + cd build + cmake -DBUILD_SHARED_LIBS=TRUE -DCMAKE_INSTALL_PREFIX=/usr -DLIBDIR=/usr/lib .. + make +} + +package() { + cd $srcdir/$pkgname-$pkgver/build + make DESTDIR=$pkgdir install +} diff --git a/pcr/biblesync/PKGBUILD.sig b/pcr/biblesync/PKGBUILD.sig Binary files differnew file mode 100644 index 000000000..b42a360c0 --- /dev/null +++ b/pcr/biblesync/PKGBUILD.sig |