summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Bunkus2018-08-11 11:01:10 +0200
committerMoritz Bunkus2018-08-11 11:01:10 +0200
commita3436aac613d9ac681c4929b8c1a6b7fca7e6662 (patch)
tree63638719c1384587ffd41f412e11ac380ff7146b
parent060c25e1dcdc67409f218019b8864d30704e9c7d (diff)
downloadaur-a3436aac613d9ac681c4929b8c1a6b7fca7e6662.tar.gz
strip binaries; use explicit architectures
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD5
2 files changed, 8 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a70494b3f0fd..f675c5500c6c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,13 @@
# Generated by mksrcinfo v8
-# Sat Aug 11 08:55:53 UTC 2018
+# Sat Aug 11 09:00:56 UTC 2018
pkgbase = perl-file-extattr
pkgdesc = Perl extension for accessing extended attributes of files
pkgver = 1.09
- pkgrel = 2
+ pkgrel = 3
url = http://search.cpan.org/dist/File-ExtAttr
- arch = any
+ arch = i686
+ arch = x86_64
+ arch = arm
license = GPL
license = PerlArtistic
options = !emptydirs
diff --git a/PKGBUILD b/PKGBUILD
index 8a644b56d246..22e4a24ebe91 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,9 +2,9 @@
pkgname=perl-file-extattr
pkgver='1.09'
-pkgrel='2'
+pkgrel='3'
pkgdesc="Perl extension for accessing extended attributes of files"
-arch=('any')
+arch=("i686" "x86_64" "arm")
url="http://search.cpan.org/dist/File-ExtAttr"
license=('GPL' 'PerlArtistic')
options=('!emptydirs')
@@ -44,6 +44,7 @@ check() {
package() {
prepare_environment
make install
+ find "$pkgdir" -type f -name '*.so' -exec strip {} \+
find "$pkgdir" "(" -name .packlist -o -name perllocal.pod ")" -delete
}