summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSean Anderson2022-01-01 02:53:57 -0500
committerSean Anderson2022-01-01 02:53:57 -0500
commit9c18134920a8f3729fbe1d110aa50f9926ae5235 (patch)
tree7571449b187dc6897300662aa3d7fca21bad86a0 /PKGBUILD
parentc80e8a258597a63fc7cf0d72c088f4b50178317b (diff)
downloadaur-9c18134920a8f3729fbe1d110aa50f9926ae5235.tar.gz
Fix incorrect install dir
On Arch, perl modules are installed to vendor_perl, but on Debian they go directly under lib/perl5.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a28c3b99335..b65f8e68796 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@ pkgname=sbuild
_tag=debian/0.81.2
pkgver=${_tag##*/}
_srcname=$pkgname-${_tag/\//-}
-pkgrel=1
+pkgrel=2
epoch=
arch=(any)
url="https://salsa.debian.org/debian/sbuild"
@@ -34,6 +34,7 @@ validpgpkeys=()
prepare() {
cd "$_srcname"
+ sed -ie 's,PERL_MODULE_DIR=.*,PERL_MODULE_DIR="${datadir}/perl5/vendor_perl",g' configure.ac
autoupdate
}