DESCRIPTION="Framework for defining and tracking users, login sessions and seats"
HOMEPAGE="https://github.com/ConsoleKit2/ConsoleKit2 https://www.freedesktop.org/wiki/Software/ConsoleKit"
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${MY_P}.tar.bz2
- https://launchpad.net/debian/+archive/primary/+files/${PN}_0.4.6-4.debian.tar.gz" # for logrotate file
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
prune_libtool_files --all # --all for pam_ck_connector.la
rm -rf "${ED}"/var/run || die # let the init script create the directory
-
- insinto /etc/logrotate.d
- newins "${WORKDIR}"/debian/${PN}.logrotate ${PN} #374513
}
pkg_postinst() {
DESCRIPTION="Framework for defining and tracking users, login sessions and seats"
HOMEPAGE="https://github.com/ConsoleKit2/ConsoleKit2 https://www.freedesktop.org/wiki/Software/ConsoleKit"
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${MY_P}.tar.bz2
- https://launchpad.net/debian/+archive/primary/+files/${PN}_0.4.6-4.debian.tar.gz" # for logrotate file
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
prune_libtool_files --all # --all for pam_ck_connector.la
rm -rf "${ED}"/var/run || die # let the init script create the directory
-
- insinto /etc/logrotate.d
- newins "${WORKDIR}"/debian/${PN}.logrotate ${PN} #374513
}
DESCRIPTION="Framework for defining and tracking users, login sessions and seats"
HOMEPAGE="https://github.com/ConsoleKit2/ConsoleKit2 https://www.freedesktop.org/wiki/Software/ConsoleKit"
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${MY_P}.tar.bz2
- https://launchpad.net/debian/+archive/primary/+files/${PN}_0.4.6-4.debian.tar.gz" # for logrotate file
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
prune_libtool_files --all # --all for pam_ck_connector.la
rm -rf "${ED}"/var/run || die # let the init script create the directory
-
- insinto /etc/logrotate.d
- newins "${WORKDIR}"/debian/${PN}.logrotate ${PN} #374513
}
DESCRIPTION="Framework for defining and tracking users, login sessions and seats"
HOMEPAGE="https://github.com/ConsoleKit2/ConsoleKit2 https://www.freedesktop.org/wiki/Software/ConsoleKit"
-SRC_URI="https://launchpad.net/debian/+archive/primary/+files/${PN}_0.4.6-4.debian.tar.gz" # for logrotate file
EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git"
LICENSE="GPL-2"
fi
}
-src_unpack() {
- git-r3_src_unpack
- unpack "${PN}_0.4.6-4.debian.tar.gz"
-}
-
src_prepare() {
sed -i -e '/SystemdService/d' data/org.freedesktop.ConsoleKit.service.in || die
prune_libtool_files --all # --all for pam_ck_connector.la
rm -rf "${ED}"/var/run || die # let the init script create the directory
-
- insinto /etc/logrotate.d
- newins "${WORKDIR}"/debian/${PN}.logrotate ${PN} #374513
}