Created
October 6, 2017 12:02
-
-
Save anonymous/3260611e75b9ae0dccd70c42788cec03 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/PKGBUILD b/PKGBUILD | |
index 94d8624..8f4d1d4 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -2,7 +2,7 @@ | |
pkgname=mailspring | |
pkgver=1.0.1 | |
-pkgrel=4 | |
+pkgrel=5 | |
pkgdesc="A beautiful, fast and maintained fork of Nylas Mail by one of the original authors." | |
arch=('x86_64') | |
license=('GPL3') | |
@@ -21,11 +21,12 @@ package() { | |
tar -xvf data.tar.xz -C ${pkgdir} --exclude='./control' | |
- # mailspring calls libsasl2.so.2 for some reason when arch have .3 | |
- 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 | |
+ # mailspring calls libsasl2.so.2 for some reason when arch have .3 | |
+ if [[ ! -f "/usr/lib/libsasl2.so.2" && -f /usr/lib/libsasl2.so.3 ]] | |
+ then | |
+ install -dm755 ${pkgdir}/usr/lib | |
+ ln -s /usr/lib/libsasl2.so.3 ${pkgdir}/usr/lib/libsasl2.so.2 | |
+ fi | |
chmod -R go-w "${pkgdir}"/usr | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment