diff options
author | Arnaud Berthomier | 2020-11-11 10:02:45 -0600 |
---|---|---|
committer | Arnaud Berthomier | 2020-11-11 10:02:45 -0600 |
commit | 1d6c49ecf4d72a0fb987b8a140fecfc966f6e3d6 (patch) | |
tree | f25f16e0983bd03880a81c0dc13c3b3501d97ea1 | |
parent | 17b3ef36b487412b11c78faccc5744923e86a6b2 (diff) | |
download | aur-1d6c49ecf4d72a0fb987b8a140fecfc966f6e3d6.tar.gz |
monocypher's Makefile isn't so bad
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 5 insertions, 12 deletions
@@ -1,7 +1,7 @@ pkgbase = monocypher pkgdesc = Monocypher is an easy to use crypto library inspired by libsodium and TweetNaCl pkgver = 3.1.1 - pkgrel = 2 + pkgrel = 3 url = https://monocypher.org/ arch = i686 arch = x86_64 @@ -3,7 +3,7 @@ pkgname=monocypher _pkgname=monocypher pkgver=3.1.1 -pkgrel=2 +pkgrel=3 pkgdesc="Monocypher is an easy to use crypto library inspired by libsodium and TweetNaCl" arch=('i686' 'x86_64') url="https://monocypher.org/" @@ -15,16 +15,9 @@ sha512sums=('9c202ffe74eac1f2a7f21b8e195d981c21c5792b788315dea168cf40f1ee83cb787 package() { cd "$_pkgname-$pkgver" - install -d -m 755 "$pkgdir/usr/include/$pkgname" - install -m 644 src/monocypher.c "$pkgdir/usr/include/$pkgname/monocypher.c" - install -m 644 src/monocypher.h "$pkgdir/usr/include/$pkgname/monocypher.h" - install -m 644 src/optional/monocypher-ed25519.h "$pkgdir/usr/include/$pkgname/monocypher-ed25519.h" - install -m 644 src/optional/monocypher-ed25519.c "$pkgdir/usr/include/$pkgname/monocypher-ed25519.c" + make install USE_ED25519=true PREFIX=usr DESTDIR="$pkgdir" + make install-doc USE_ED25519=true PREFIX=usr DESTDIR="$pkgdir" + install -d -m 755 "$pkgdir/usr/share/licenses/$pkgname" install -m 644 LICENCE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - install -d -m 755 "$pkgdir/usr/share/man/man3" - install -m 644 doc/man/man3/*.3monocypher "$pkgdir/usr/share/man/man3/" - install -m 644 doc/man/man3/optional/* "$pkgdir/usr/share/man/man3/" - install -d -m 755 "$pkgdir/usr/lib/pkgconfig" - install -m 644 monocypher.pc "$pkgdir/usr/lib/pkgconfig/" } |