portage-overlay

personal portage ebuild repository
git clone anongit@rnpnr.xyz:portage-overlay.git
Log | Files | Refs | Feed | README

selx-1.0.0.ebuild (470B)


      1 EAPI=8
      2 
      3 inherit toolchain-funcs
      4 
      5 DESCRIPTION="simple X11 rectangle selection tool"
      6 HOMEPAGE="https://codeberg.org/NRK/selx"
      7 
      8 SRC_URI="https://codeberg.org/NRK/selx/archive/v${PV}.tar.gz -> ${P}.tar.gz"
      9 S="${WORKDIR}/${PN}"
     10 
     11 KEYWORDS="~amd64"
     12 LICENSE="GPL-3+"
     13 SLOT=0
     14 IUSE=""
     15 
     16 RDEPEND="
     17 	x11-libs/libX11
     18 	x11-libs/libXext
     19 "
     20 DEPEND="${RDEPEND}"
     21 
     22 src_compile() {
     23 	$(tc-getCC) -o selx selx.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xext
     24 }
     25 
     26 src_install() {
     27 	dobin selx
     28 	doman selx.1
     29 }