[arch-commits] Commit in botan/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Tue Aug 15 10:01:55 UTC 2017
Date: Tuesday, August 15, 2017 @ 10:01:54
Author: arodseth
Revision: 250840
upgpkg: botan 2.2.0-1
Modified:
botan/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-15 10:01:47 UTC (rev 250839)
+++ PKGBUILD 2017-08-15 10:01:54 UTC (rev 250840)
@@ -14,12 +14,18 @@
license=('BSD')
depends=('gcc-libs' 'sh')
makedepends=('python')
-source=("https://botan.randombit.net/releases/Botan-${pkgver}.tgz"{,.asc})
-md5sums=('b8c9d2ff724e33c99a050838b112e832'
- 'SKIP')
-# Botan Distribution Key. To import: gpg --import botan.key
validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC')
+source=("https://botan.randombit.net/releases/Botan-${pkgver}.tgz"{,.asc}
+ 'https://github.com/randombit/botan/commit/3e1312d905dac01f317138b68fd284799a5abc29.patch')
+md5sums=('b8c9d2ff724e33c99a050838b112e832' 'SKIP'
+ '11f29d6cc39fad8bd88cd252a79f590b')
+prepare() {
+ cd "${pkgname^}-$pkgver"
+
+ patch -p1 -i ../3e1312d905dac01f317138b68fd284799a5abc29.patch
+}
+
build() {
cd "${pkgname^}-$pkgver"
@@ -36,11 +42,8 @@
package() {
cd "${pkgname^}-$pkgver"
- make DESTDIR="$pkgdir/usr" install
+ make DESTDIR="$pkgdir" install
install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- # fix permissions
- find "$pkgdir/usr/share/doc" -type f -exec chmod 0644 {} \;
}
# getver: github.com/randombit/botan
More information about the arch-commits
mailing list