summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Ostuni2018-11-24 12:09:18 +0100
committerDario Ostuni2018-11-24 12:09:18 +0100
commit1907bee3fd082bb84ec205bec819bc3b41863fb8 (patch)
treeedd68bdfb10e88ecc37b36dcbdd94e9748e93f14
parent3bc921609a2bf1745a539abde171ee035cb67940 (diff)
downloadaur-1907bee3fd082bb84ec205bec819bc3b41863fb8.tar.gz
Fix openssl linkage
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c864c473774..ef2ecf88c1d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Sun Jul 1 19:37:43 UTC 2018
pkgbase = simple-http-server
pkgdesc = Simple http server in Rust
pkgver = 0.4.6
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/TheWaWaR/simple-http-server
arch = i686
arch = x86_64
@@ -11,6 +9,7 @@ pkgbase = simple-http-server
arch = aarch64
license = MIT
makedepends = cargo
+ depends = openssl-1.0
source = https://crates.io/api/v1/crates/simple-http-server/0.4.6/download
sha384sums = 48afad660d4b780ec360167c99dce03b97290237c21c3973a40fb2d38fa8c49b1d8f59368e448b25568909dbbb9793d8
diff --git a/PKGBUILD b/PKGBUILD
index 47ae49a4593..cb54c1c5ff0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,18 +2,20 @@
pkgname=simple-http-server
pkgver=0.4.6
-pkgrel=1
+pkgrel=2
pkgdesc="Simple http server in Rust"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://github.com/TheWaWaR/simple-http-server"
license=('MIT')
-depends=()
+depends=('openssl-1.0')
makedepends=('cargo')
options=()
source=("https://crates.io/api/v1/crates/${pkgname}/${pkgver}/download")
sha384sums=('48afad660d4b780ec360167c99dce03b97290237c21c3973a40fb2d38fa8c49b1d8f59368e448b25568909dbbb9793d8')
build() {
+ export OPENSSL_LIB_DIR="/usr/lib/openssl-1.0"
+ export OPENSSL_INCLUDE_DIR="/usr/include/openssl-1.0"
cd "$srcdir/$pkgname-$pkgver"
cargo build --release
}