summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7ab145a29a3..33f2cf1a34e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,9 +14,10 @@ source=(http://www.cskk.ezoshosting.com/cs/css/$pkgname.tar.gz)
package() {
cd "$srcdir"
- install -d "$pkgdir"/usr/bin "$pkgdir"/usr/lib/perl5/vendor_perl/cs
+ _perlver=`pacman -Q perl | awk '{print $2}' | awk -F '.' '{print $1"."$2}'`
+ install -d "$pkgdir"/usr/bin "$pkgdir"/usr/lib/perl5/$_perlver/vendor_perl/cs
install -m755 info2pod info2man "$pkgdir"/usr/bin
- cp -R cs/* "$pkgdir"/usr/lib/perl5/vendor_perl/cs
+ cp -R cs/* "$pkgdir"/usr/lib/perl5/$_perlver/vendor_perl/cs
}
md5sums=('303b9bf313e88558ff577806398f6c4c')