Skip to content
Snippets Groups Projects
Verified Commit 1a83d27e authored by Robin Candau's avatar Robin Candau
Browse files

upgpkg: 4.15-4: Fix perl modules path in 'highlight-perl' pkg

parent 130dda0b
No related branches found
No related tags found
No related merge requests found
pkgbase = highlight
pkgdesc = Fast and flexible source code highlighter
pkgver = 4.15
pkgrel = 3
pkgrel = 4
url = http://www.andre-simon.de/doku/highlight/highlight.html
arch = x86_64
license = GPL-3.0-or-later
......
......@@ -5,7 +5,7 @@
pkgbase=highlight
pkgname=('highlight' 'highlight-perl' 'highlight-gui')
pkgver=4.15
pkgrel=3
pkgrel=4
pkgdesc="Fast and flexible source code highlighter"
url="http://www.andre-simon.de/doku/highlight/highlight.html"
license=('GPL-3.0-or-later')
......@@ -55,12 +55,12 @@ package_highlight() {
package_highlight-perl() {
pkgdesc="${pkgdesc} - perl module"
depends=('highlight' 'perl')
_perl_version=$(perl -V:vendorarch)
_perl_path=$(perl -V:vendorarch | awk -F"'" '{print $2}')
cd "${pkgbase}-${pkgver}"
install -Dm 644 "extras/swig/${pkgbase}.pm" "${pkgdir}/usr/lib/perl5/${_perl_version}/vendor_perl/${pkgbase}.pm"
install -Dm 755 "extras/swig/${pkgbase}.so" "${pkgdir}/usr/lib/perl5/${_perl_version}/vendor_perl/auto/${pkgbase}/${pkgbase}.so"
install -Dm 644 "extras/swig/${pkgbase}.pm" "${pkgdir}${_perl_path}/${pkgbase}.pm"
install -Dm 755 "extras/swig/${pkgbase}.so" "${pkgdir}${_perl_path}/auto/${pkgbase}/${pkgbase}.so"
}
package_highlight-gui() {
pkgdesc="${pkgdesc} - QT GUI version"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment