parlay

yet another gentoo overlay
git clone https://git.parazyd.org/parlay
Log | Files | Refs | README

wmutils-9999.ebuild (588B)


      1 # Copyright 1999-2023 Gentoo Authors
      2 # Distributed under the terms of the GNU General Public License v2
      3 
      4 EAPI=8
      5 
      6 inherit git-r3
      7 
      8 DESCRIPTION="Set of window manipulation tools"
      9 HOMEPAGE="https://github.com/wmutils/core"
     10 EGIT_REPO_URI="https://github.com/wmutils/core"
     11 
     12 LICENSE="ISC"
     13 SLOT="0"
     14 KEYWORDS="~amd64 ~x86"
     15 IUSE=""
     16 
     17 DEPEND="x11-libs/libwm"
     18 RDEPEND="${DEPEND}"
     19 
     20 src_prepare() {
     21 	default
     22 	sed -e 's:^MANPREFIX.*:MANPREFIX = $(PREFIX)/share/man:' -i config.mk
     23 	mv wtf.c twf.c
     24 	mv man/wtf.1 man/twf.1
     25 	sed -e 's:wtf\.c:twf\.c:' -i Makefile
     26 	sed -e 's:wtf\.1:twf\.1:' -i man/Makefile
     27 }