portage-overlay

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

sxot-0.1.0.ebuild (475B)


      1 EAPI=8
      2 
      3 inherit toolchain-funcs
      4 
      5 DESCRIPTION="simple X11 screenshot tool"
      6 HOMEPAGE="https://codeberg.org/NRK/sxot"
      7 
      8 SRC_URI="https://codeberg.org/NRK/sxot/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/libXfixes
     19 "
     20 DEPEND="${RDEPEND}"
     21 
     22 src_compile() {
     23 	$(tc-getCC) -o sxot sxot.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xfixes
     24 }
     25 
     26 src_install() {
     27 	dobin sxot
     28 	dobin etc/optipng-pipe
     29 }