23 lines
739 B
Bash
23 lines
739 B
Bash
# Template file for 'perl-Linux-Distribution'
|
|
pkgname=perl-Linux-Distribution
|
|
version=0.23
|
|
revision=4
|
|
build_style=perl-module
|
|
hostmakedepends="perl"
|
|
makedepends="perl"
|
|
depends="perl"
|
|
short_desc="Linux::Distribution - Detect the running Linux distribution"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Artistic-1.0-Perl, GPL-1.0-or-later"
|
|
homepage="https://metacpan.org/release/Linux-Distribution"
|
|
distfiles="${CPAN_SITE}/Linux/Linux-Distribution-${version}.tar.gz"
|
|
checksum=603e27da607b3e872a669d7a66d75982f0969153eab2d4b20c341347b4ebda5f
|
|
|
|
post_patch() {
|
|
vsed -i -e 's/lsb-release/os-release/' \
|
|
lib/Linux/Distribution.pm \
|
|
t/Linux-Distribution.t \
|
|
t/ubuntu1404/files
|
|
mv t/ubuntu1404/lsb-release t/ubuntu1404/os-release
|
|
}
|