mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 12:47:16 +08:00
Some corrections to the botan PKGBUILD.
This commit is contained in:
parent
e4d458ea80
commit
b1d7b4b580
@ -6,23 +6,27 @@
|
||||
pkgname=botan
|
||||
pkgver=1.10.3
|
||||
pkgrel=1
|
||||
pkgdesc="BSD-licensed crypto library written in C++"
|
||||
pkgdesc="BSD-licensed crypto library written in C++."
|
||||
license=('BSD')
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://botan.randombit.net/"
|
||||
depends=('gcc-libs' 'sh')
|
||||
makedepends=('python')
|
||||
source=(http://files.randombit.net/botan/Botan-${pkgver}.tgz)
|
||||
makedepends=('python2')
|
||||
source=("http://files.randombit.net/botan/Botan-${pkgver}.tgz")
|
||||
md5sums=('1b5fcbc5795f615219277efc5059c886')
|
||||
options=('force')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/Botan-${pkgver}
|
||||
./configure.py --prefix=/usr
|
||||
make || return 1
|
||||
cd "${srcdir}/Botan-${pkgver}"
|
||||
|
||||
python2 configure.py --prefix=/usr \
|
||||
--cpu="${CARCH}"
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/Botan-${pkgver}
|
||||
make DESTDIR=${pkgdir}/usr install
|
||||
cd "${srcdir}/Botan-${pkgver}"
|
||||
make install DESTDIR="${pkgdir}/usr"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
Loading…
Reference in New Issue
Block a user