diff options
author | Joakim Nylén | 2017-10-06 12:30:53 +0200 |
---|---|---|
committer | Joakim Nylén | 2017-10-06 12:30:53 +0200 |
commit | 23a1d3772d10250d2d31be6a622d8cee207d7500 (patch) | |
tree | 7de677fa356d8113c91a41d945d9f11aa5271f8b | |
parent | 9076b3969c9df6632cd35b24ef153ef5b41ac68c (diff) | |
download | aur-23a1d3772d10250d2d31be6a622d8cee207d7500.tar.gz |
Final fix
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 6 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = mailspring pkgdesc = A beautiful, fast and maintained fork of Nylas Mail by one of the original authors. pkgver = 1.0.1 - pkgrel = 3 + pkgrel = 4 url = https://getmailspring.com/ arch = x86_64 license = GPL3 @@ -2,7 +2,7 @@ pkgname=mailspring pkgver=1.0.1 -pkgrel=3 +pkgrel=4 pkgdesc="A beautiful, fast and maintained fork of Nylas Mail by one of the original authors." arch=('x86_64') license=('GPL3') @@ -22,7 +22,10 @@ package() { tar -xvf data.tar.xz -C ${pkgdir} --exclude='./control' # mailspring calls libsasl2.so.2 for some reason when arch have .3 - ln -s /usr/lib/libsasl2.so.3 /usr/lib/libsasl2.so.2 + if [[ ! -f "/usr/lib/libsasl2.so.2" && -f /usr/lib/libsasl2.so.3 ]] + then + ln -s /usr/lib/libsasl2.so.3 /usr/lib/libsasl2.so.2 + fi chmod -R go-w "${pkgdir}"/usr } |