diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-03-29 10:31:20 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-03-29 10:31:37 +0200 |
commit | f8137beb67c5bda825450b47df07e24df1ef2ed8 (patch) | |
tree | e47e8e9d00c0824ecbde22c6ba4184f997845f90 /net-print | |
parent | net-print/cups: Bump to version 2.3_beta4 (diff) | |
download | gentoo-f8137beb67c5bda825450b47df07e24df1ef2ed8.tar.gz gentoo-f8137beb67c5bda825450b47df07e24df1ef2ed8.tar.bz2 gentoo-f8137beb67c5bda825450b47df07e24df1ef2ed8.zip |
net-print/cups: Synced live ebuild.
Package-Manager: Portage-2.3.26, Repoman-2.3.7
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/cups/cups-9999.ebuild | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/net-print/cups/cups-9999.ebuild b/net-print/cups/cups-9999.ebuild index 873f91da5e38..b971a2a2cdcf 100644 --- a/net-print/cups/cups-9999.ebuild +++ b/net-print/cups/cups-9999.ebuild @@ -9,10 +9,9 @@ inherit autotools gnome2-utils flag-o-matic linux-info xdg-utils \ multilib multilib-minimal pam python-single-r1 user versionator \ java-pkg-opt-2 systemd toolchain-funcs -MY_P=${P/_rc/rc} -MY_P=${MY_P/_beta/b} -MY_PV=${PV/_rc/rc} -MY_PV=${MY_PV/_beta/b} +MY_PV="${PV/_rc/rc}" +MY_PV="${MY_PV/_beta/b}" +MY_P="${PN}-${MY_PV}" if [[ ${PV} == *9999 ]]; then inherit git-r3 @@ -22,14 +21,16 @@ if [[ ${PV} == *9999 ]]; then fi else #SRC_URI="https://github.com/apple/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - SRC_URI="https://github.com/apple/cups/releases/download/v${PV}/${P}-source.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~m68k-mint" + SRC_URI="https://github.com/apple/cups/releases/download/v${MY_PV}/${MY_P}-source.tar.gz" + if [[ "${PV}" != *_beta* ]] && [[ "${PV}" != *_rc* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~m68k-mint" + fi fi DESCRIPTION="The Common Unix Printing System" HOMEPAGE="https://www.cups.org/" -LICENSE="GPL-2" +LICENSE="Apache-2.0" SLOT="0" IUSE="acl dbus debug java kerberos lprng-compat pam python selinux +ssl static-libs systemd +threads usb X xinetd zeroconf" @@ -90,6 +91,8 @@ MULTILIB_CHOST_TOOLS=( /usr/bin/cups-config ) +S="${WORKDIR}/${MY_P}" + pkg_setup() { enewgroup lp enewuser lp -1 -1 -1 lp |