diff --git a/srcpkgs/apparmor/template b/srcpkgs/apparmor/template index a8ae25a0039..50e2992aafb 100644 --- a/srcpkgs/apparmor/template +++ b/srcpkgs/apparmor/template @@ -1,14 +1,13 @@ # Template file for 'apparmor' pkgname=apparmor -version=3.1.2 +version=3.1.3 revision=1 build_wrksrc=libraries/libapparmor build_style=gnu-configure conf_files="/etc/apparmor.d/local/* /etc/apparmor/*" make_dirs="/etc/apparmor.d/disable 0755 root root" -hostmakedepends="bison flex autoconf automake libtool gettext swig python3 which - python3-setuptools" -makedepends="perl python3-devel" +hostmakedepends="bison flex gettext python3 which python3-setuptools pkg-config + perl" depends="runit-void-apparmor libapparmor-${version}_${revision} python3-notify2 python3-psutil python3-dbus iproute2" checkdepends="dejagnu" @@ -17,18 +16,16 @@ maintainer="Michal Vasilek " license="GPL-2.0-only" homepage="https://gitlab.com/apparmor/apparmor" changelog="https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_${version}" -distfiles="https://gitlab.com/apparmor/apparmor/-/archive/v${version}/apparmor-v${version}.tar.gz" -checksum=e7c7c4bc3a05a074322f9a19232c925b37e9a23dffa66d764dc27ebb82f0462c +distfiles="https://launchpad.net/apparmor/${version%.*}/${version}/+download/apparmor-${version}.tar.gz" +checksum=b8ffac45d0b283afe574ddd5542142ba1a62c354df110cff862b99201f29c843 replaces="apparmor-vim>=0" if [ -z "$CROSS_BUILD" ]; then configure_args="--with-perl --with-python" + hostmakedepends+=" swig" + makedepends="python3-devel" fi -pre_configure() { - autoreconf -if -} - pre_build() { # Replace release profiles with our own cd ${wrksrc}