mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
community/botan to 1.11.12-2
This commit is contained in:
parent
6eb2f3f4b6
commit
2d2a8c9dd1
1 changed files with 8 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
|||
# Contributor: Angel Velasquez <angvp@archlinux.org>
|
||||
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
|
||||
# Contributor: d'Ronin <daronin@2600.com>
|
||||
# Contributor: Hexchain Tong <richard0053@gmail.com>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - compiler flags adjustment to build correctly
|
||||
|
@ -10,7 +11,7 @@
|
|||
|
||||
pkgname=botan
|
||||
pkgver=1.11.12
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Crypto library written in C++'
|
||||
license=('BSD')
|
||||
arch=('x86_64' 'i686')
|
||||
|
@ -22,8 +23,10 @@ sha256sums=('053d4c2647d9cc2da99112717facb36cf98c2b0f3d99bd7e37c9677c6b5c3025' '
|
|||
validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC') # Botan Distribution Key
|
||||
|
||||
prepare() {
|
||||
cd "Botan-$pkgver/src"
|
||||
|
||||
# Use python2 for the installation scripts
|
||||
find "Botan-$pkgver/src/scripts" -name '*.py' -exec sed -i -e '1s,python$,python2,' {} +
|
||||
find scripts -name '*.py' -exec sed -i -e '1s,python$,python2,' {} +
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -49,6 +52,9 @@ package() {
|
|||
make DESTDIR="$pkgdir/usr" install
|
||||
find "$pkgdir/usr/share/doc" -type f -exec chmod 0644 {} \;
|
||||
install -Dm644 doc/license.rst "$pkgdir/usr/share/licenses/$pkgname/license.rst"
|
||||
|
||||
# Fix the pkg-config location
|
||||
mv "$pkgdir/usr/pkgconfig" "$pkgdir/usr/lib/pkgconfig"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
Loading…
Reference in a new issue