[arch-commits] Commit in libaxc/trunk (PKGBUILD)
Frederik Schwan
freswa at archlinux.org
Sat Feb 13 22:57:44 UTC 2021
Date: Saturday, February 13, 2021 @ 22:57:44
Author: freswa
Revision: 859716
fix shared object symlinks and permissions
Modified:
libaxc/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-13 21:38:18 UTC (rev 859715)
+++ PKGBUILD 2021-02-13 22:57:44 UTC (rev 859716)
@@ -2,7 +2,7 @@
pkgname=libaxc
pkgver=0.3.4
-pkgrel=1
+pkgrel=2
pkgdesc='Client lib for libsignal-c aka libaxolotl'
arch=('x86_64')
url='https://github.com/gkdr/axc'
@@ -14,10 +14,13 @@
build() {
cd ${pkgname##lib}-${pkgver}
- make
+ make PREFIX="/usr"
}
package() {
cd ${pkgname##lib}-${pkgver}
make DESTDIR="${pkgdir}" PREFIX="/usr" install
+ chmod a+x "${pkgdir}"/usr/lib/libaxc.so.${pkgver}
+ ln -s libaxc.so.${pkgver} "${pkgdir}"/usr/lib/libaxc.so
+ ln -s libaxc.so.${pkgver} "${pkgdir}"/usr/lib/libaxc.so.${pkgver%%.*}
}
More information about the arch-commits
mailing list