mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 07:49:00 -04:00
sys-block/systemd-swap: add as maintainer
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Theo Anderson <telans@posteo.de>
This commit is contained in:
parent
3806cb83d8
commit
34aaf61268
@ -1,7 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="person">
|
||||
<email>telans@posteo.de</email>
|
||||
<name>Theo Anderson</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">Nefelim4ag/systemd-swap</remote-id>
|
||||
</upstream>
|
||||
|
@ -2,24 +2,26 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit linux-info systemd
|
||||
|
||||
inherit linux-info
|
||||
|
||||
DESCRIPTION="Script for creating swap space from zram swaps, swap files and swap partitions."
|
||||
HOMEPAGE="https://github.com/Nefelim4ag/systemd-swap/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/Nefelim4ag/${PN}.git"
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/Nefelim4ag/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/Nefelim4ag/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
CONFIG_CHECK="~ZRAM ~ZSWAP"
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${ED}/" install
|
||||
default
|
||||
keepdir /var/lib/systemd-swap
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user