diff --git a/sys-apps/asahi-scripts/Manifest b/sys-apps/asahi-scripts/Manifest index 7a57c27..924e0e2 100644 --- a/sys-apps/asahi-scripts/Manifest +++ b/sys-apps/asahi-scripts/Manifest @@ -1,2 +1 @@ -DIST asahi-scripts-20240623.tar.gz 11562 BLAKE2B b69a3d697ba60fc74bc41de8c850bda2427d039142e1d0a1b354a0fb63b74091f65298dc3b325f711a4743f5aabf3cc1a724a121045d49396ab014b32e5c9c2c SHA512 2003e0a665823a12d2399af09062cbed7300c4cb1b8d9f0b993575d98c71a6d5ebb50dd0cb5d64e8fd05177ca2f2f4bc6d74f9bb87d04407a880c489a5b6bac4 DIST asahi-scripts-20240822.tar.gz 12264 BLAKE2B 945bd549a768beb86b69bbdeae088df7d687a534d7003e62574349e40fcb84f37306e96aade89d2fd45882add0d1b31e99b647f38debce4f6fb9185ec848d2a8 SHA512 6b99abe8df63b928285d6af54ba745bf9ae7a53f3208c77b90158fa076d34feb091275343039b61320fc043b6021170ad63f0e6df933e6a0a3fbfe146f78caf5 diff --git a/sys-apps/asahi-scripts/asahi-scripts-20240623.ebuild b/sys-apps/asahi-scripts/asahi-scripts-20240623.ebuild deleted file mode 100644 index 82ba297..0000000 --- a/sys-apps/asahi-scripts/asahi-scripts-20240623.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2022 James Calligeros -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -DESCRIPTION="Apple Silicon support scripts" -HOMEPAGE="https://asahilinux.org/" -SRC_URI="https://github.com/AsahiLinux/${PN}/archive/refs/tags/${PV}.tar.gz -> ${PN}-${PV}.tar.gz" -LICENSE="MIT" -SLOT="0" -KEYWORDS="arm64" - -BDEPEND=" - dev-build/make" - -src_prepare() { - default -} - -src_compile() { - emake || die "Could not invoke emake" -} - -src_install() { - emake DESTDIR="${D}" PREFIX="/usr" SYS_PREFIX="" install-dracut - - # install gentoo sys config - insinto /etc/default - newins "${FILESDIR}"/update-m1n1.gentoo.conf update-m1n1 -} - -pkg_postinst() { - if [[ ! -e ${ROOT}/usr/lib/asahi-boot ]]; then - ewarn "These scripts are intended for use on Apple Silicon" - ewarn "machines with the Asahi tooling installed! Please" - ewarn "install sys-boot/m1n1, sys-boot/u-boot and" - ewarn "sys-firmware/asahi-firmware!" - fi - - elog "Asahi scripts have been installed to /usr/. For more" - elog "information on how to use them, please visit the Wiki." - - if [[ -e ${ROOT}/usr/local/share/asahi-scripts/functions.sh ]]; then - ewarn "You have upgraded to a new version of ${PN}. Please" - ewarn "remove /usr/local/share/asahi-scripts/," - ewarn " /usr/local/bin/update-m1n1, and" - ewarn "/usr/local/bin/update-vendor-firmware." - fi - - if [[ -e ${ROOT}/etc/dracut.conf.d/10-apple.conf ]]; then - ewarn "Please remove /etc/dracut.conf.d/10-apple.conf" - fi -} diff --git a/sys-apps/asahi-scripts/asahi-scripts-20240822.ebuild b/sys-apps/asahi-scripts/asahi-scripts-20240822.ebuild deleted file mode 100644 index 1ff3f6b..0000000 --- a/sys-apps/asahi-scripts/asahi-scripts-20240822.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2022 James Calligeros -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -DESCRIPTION="Apple Silicon support scripts" -HOMEPAGE="https://asahilinux.org/" -SRC_URI="https://github.com/AsahiLinux/${PN}/archive/refs/tags/${PV}.tar.gz -> ${PN}-${PV}.tar.gz" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~arm64" - -BDEPEND=" - dev-build/make - virtual/udev -" - -src_prepare() { - default -} - -src_compile() { - emake || die "Could not invoke emake" -} - -src_install() { - emake DESTDIR="${D}" PREFIX="/usr" SYS_PREFIX="" install-dracut - emake DESTDIR="${D}" PREFIX="/usr" install-macsmc-battery - - newinitd "${FILESDIR}/${PN}-macsmc-battery.openrc" "macsmc-battery" - - # install gentoo sys config - insinto /etc/default - newins "${FILESDIR}"/update-m1n1.gentoo.conf update-m1n1 -} - -pkg_postinst() { - if [[ ! -e ${ROOT}/usr/lib/asahi-boot ]]; then - ewarn "These scripts are intended for use on Apple Silicon" - ewarn "machines with the Asahi tooling installed! Please" - ewarn "install sys-boot/m1n1, sys-boot/u-boot and" - ewarn "sys-firmware/asahi-firmware!" - fi - - elog "Asahi scripts have been installed to /usr/. For more" - elog "information on how to use them, please visit the Wiki." - - if [[ -e ${ROOT}/usr/local/share/asahi-scripts/functions.sh ]]; then - ewarn "You have upgraded to a new version of ${PN}. Please" - ewarn "remove /usr/local/share/asahi-scripts/," - ewarn " /usr/local/bin/update-m1n1, and" - ewarn "/usr/local/bin/update-vendor-firmware." - fi - - if [[ -e ${ROOT}/etc/dracut.conf.d/10-apple.conf ]]; then - ewarn "Please remove /etc/dracut.conf.d/10-apple.conf" - fi -}