summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Straube2017-05-10 11:43:29 +0200
committerMichael Straube2017-05-10 11:43:29 +0200
commit9980241fa4af761cd2a2ecae95c169a04bed9d4c (patch)
tree595393b4b576c38383f058676cee498b44c92604
parent78406295680896aa717df4a18afc9d57551682b0 (diff)
downloadaur-9980241fa4af761cd2a2ecae95c169a04bed9d4c.tar.gz
Add symlinks
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7e9e89c90f0..b3715b2a3fc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = libcurl-openssl-1.0
pkgdesc = An URL retrieval library (build against openssl-1.0)
pkgver = 7.54.0
- pkgrel = 1
+ pkgrel = 2
url = https://curl.haxx.se
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index ff154ece78c..a59590c8113 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=libcurl-openssl-1.0
pkgver=7.54.0
-pkgrel=1
+pkgrel=2
pkgdesc='An URL retrieval library (build against openssl-1.0)'
arch=('i686' 'x86_64')
url='https://curl.haxx.se'
@@ -45,6 +45,11 @@ package() {
rm "${pkgdir}"/usr/lib/libcurl.{a,so}*
ln -s libcurl-openssl-1.0.so.4.4.0 "${pkgdir}"/usr/lib/libcurl-openssl-1.0.so
+ install -d "${pkgdir}"/usr/lib/libcurl-openssl-1.0
+ for _i in so so.4 so.4.4.0; do
+ ln -s ../libcurl-openssl-1.0.so.4.4.0 "${pkgdir}"/usr/lib/libcurl-openssl-1.0/libcurl.${_i}
+ done
+
install -dm 755 "${pkgdir}"/usr/share/licenses
ln -s curl "${pkgdir}"/usr/share/licenses/${pkgname}
}