Skip to content

Commit

Permalink
app-misc/beep: version bump.
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/659338
Signed-off-by: Patrice Clement <[email protected]>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Closes: gentoo#11845
Signed-off-by: Aaron Bauman <[email protected]>
  • Loading branch information
monsieurp authored and FuzzyGophers committed Apr 27, 2019
1 parent 3aa0e32 commit 370f564
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-misc/beep/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST beep-1.3.tar.gz 19344 BLAKE2B 4f9cf12f6983eeb53502fd85e5e1d428e1c1af481f8f424f6ae18cbe104462e8fdcc96670a72daa8a8a0d1430d00824d8795b4db53437e7bb7320cddfd84cfd3 SHA512 3f71146202208fa0c0cda360d125dd972ea003cf8cd62da21d67eb544c92f7b82640e7ce7c3835cbc65c75909a882edfa54dbd8d8b748d6f243711ea331477fd
DIST beep-1.4.4.tar.gz 42881 BLAKE2B 8a191fb04f01ca2757f84693b39409d04566978ce32b07fd1b1ec88010ea2e36d3cda1ce66ba7fce4ee8cbbcd9dfd0f0abbdfc4d1bcc74db459e5ab10ec07228 SHA512 cfaecbebbbd0596bee5f304c3bd74968d06873037d054def0907dfd36e5bd6e7fbd7d7051eacedd20480b88f8b4e343db05eb5d3dde0fdced33756545b630373
38 changes: 38 additions & 0 deletions app-misc/beep/beep-1.4.4.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit toolchain-funcs

DESCRIPTION="Advanced PC speaker beeper"
HOMEPAGE="https://github.com/spkr-beep"
SRC_URI="https://github.com/spkr-beep/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
IUSE="suid"

pkg_setup() {
tc-export CC
}

src_prepare() {
default

sed -i -e "s#-D_FORTIFY_SOURCE=2##g;" GNUmakefile || die
}

src_install() {
dobin beep
if use suid; then
fowners :audio /usr/bin/beep
fperms 4710 /usr/bin/beep
else
fperms 0711 /usr/bin/beep
fi
unpack "./${PN}.1.gz"
doman "${PN}.1"
einstalldocs
}

0 comments on commit 370f564

Please sign in to comment.