diff options
| author | coast <coasteen@proton.me> | 2026-10-12 14:41:07 +0330 |
|---|---|---|
| committer | coast <coasteen@proton.me> | 2026-10-12 14:41:07 +0330 |
| commit | 25922912c7e37f3bc3000e71b647e77677d8f2c5 (patch) | |
| tree | 8383c5569a668613eee384ee31ea8cddc2113ee5 /packages/x11-apps/xdotool | |
| download | exherbo-overlay-25922912c7e37f3bc3000e71b647e77677d8f2c5.tar.gz exherbo-overlay-25922912c7e37f3bc3000e71b647e77677d8f2c5.tar.bz2 exherbo-overlay-25922912c7e37f3bc3000e71b647e77677d8f2c5.tar.xz exherbo-overlay-25922912c7e37f3bc3000e71b647e77677d8f2c5.tar.zst | |
Diffstat (limited to 'packages/x11-apps/xdotool')
| -rw-r--r-- | packages/x11-apps/xdotool/xdotool-4.20260303.1.exheres-0 | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/packages/x11-apps/xdotool/xdotool-4.20260303.1.exheres-0 b/packages/x11-apps/xdotool/xdotool-4.20260303.1.exheres-0 new file mode 100644 index 0000000..e4c5ecf --- /dev/null +++ b/packages/x11-apps/xdotool/xdotool-4.20260303.1.exheres-0 @@ -0,0 +1,45 @@ +# Copyright 2026 Gurov <thuggerthugger1@duck.com> +# Distributed under the terms of the GNU General Public License v2 + +SUMMARY="Command-line X11 automation and libxdo library" +HOMEPAGE="https://github.com/jordansissel/xdotool" +DOWNLOADS="${HOMEPAGE}/archive/refs/tags/v${PV}.tar.gz -> ${PNV}.tar.gz" + +LICENCES="BSD-3" +SLOT="0" +PLATFORMS="~amd64" + +DEPENDENCIES=" + build: + dev-util/pkgconf + dev-lang/perl + + build+run: + x11-libs/libX11 + x11-libs/libXinerama + x11-libs/libXtst + x11-libs/libxkbcommon +" + +MAKE_PARAMS=( + PREFIX=/usr + INSTALLBIN=/usr/$(exhost --target)/bin + INSTALLLIB=/usr/$(exhost --target)/lib + INSTALLPC=/usr/$(exhost --target)/lib/pkgconfig + INSTALLINCLUDE=/usr/$(exhost --target)/include + INSTALLMAN=/usr/share/man +) + +src_prepare() { + default + edo sed -i "s@pkg-config --@/usr/$(exhost --target)/bin/$(exhost --tool-prefix)pkg-config --@g" Makefile +} + +src_compile() { + emake "${MAKE_PARAMS[@]}" +} + +src_install() { + emake "${MAKE_PARAMS[@]}" DESTDIR="${IMAGE}" LDCONFIG=: install + dodoc COPYRIGHT +} |
