summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Wojdyla2024-05-05 19:57:25 +0200
committerMichal Wojdyla2024-05-05 19:57:25 +0200
commitbfb85a25ed8281c23a48fd0f52629a8fc0a6e809 (patch)
treef8c5c943061c35b4dcdccc5d9012a3eb23dc7af1
parent80325a3ae736b75308efd2eec3882c8100dde028 (diff)
downloadaur-bfb85a25ed8281c23a48fd0f52629a8fc0a6e809.tar.gz
Set the shared lib to be root-writable so that it will be stripped.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 13d3337d1214..f0a8c887a6eb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = perl-starlink-ast
pkgdesc = Interface to the Starlink AST library
pkgver = 3.03
- pkgrel = 2
+ pkgrel = 3
url = https://metacpan.org/release/Starlink-AST
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index cc9cc77640e1..9dfbf329c3b2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname='perl-starlink-ast'
pkgver='3.03'
-pkgrel='2'
+pkgrel='3'
pkgdesc="Interface to the Starlink AST library"
arch=('i686' 'x86_64')
license=('GPL-2.0-or-later')
@@ -45,6 +45,8 @@ package() {
cd "$srcdir/$_distdir"
/usr/bin/perl Build install
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+ # set the library to be root-writable so it can be stripped
+ chmod 755 "$pkgdir"/usr/lib/perl*/*/vendor_perl/auto/Starlink/AST/AST.so
}
# Local Variables: