summaryrefslogtreecommitdiff
path: root/x11-misc/lsw
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/lsw')
-rw-r--r--x11-misc/lsw/Manifest5
-rw-r--r--x11-misc/lsw/lsw-0.3.ebuild37
-rw-r--r--x11-misc/lsw/metadata.xml8
3 files changed, 50 insertions, 0 deletions
diff --git a/x11-misc/lsw/Manifest b/x11-misc/lsw/Manifest
new file mode 100644
index 000000000000..2adbc3780bad
--- /dev/null
+++ b/x11-misc/lsw/Manifest
@@ -0,0 +1,5 @@
+DIST lsw-0.3.tar.gz 2723 SHA256 0b3f3ce16eef060df6e0d90327ee82593dfd75281347908698747cfa3f8d0655 SHA512 54f5aeb6d17fe23a2e65fbbf4a7622c194e776261a6f0c04ece54fbf212588ec749d5bf5939a6084997f36468339f5373169234c671211a2b7712c408cf883d8 WHIRLPOOL 2b3fcd30ebf466a0ec0b78b3b9995545f0a24c4720076b5692f166ee2e342a87d85969372f830a1fbbf339cdff1545a6d846f029104f94a7ac03db34f5ca6ee8
+EBUILD lsw-0.3.ebuild 670 SHA256 076046da6b600918a06226148fdacc455e763626818ddf6da475fba9902b3f41 SHA512 18c666ba57fc9490670ba0d191ea4be5b0f6162af1a51fdfe41211d93d7f15364b3e0a99e41e13011ce660e52d2a78eb15c391abd7598b6acf02dd17a65f155c WHIRLPOOL 3b15cfab3f83c15aa8af7a20bf44d24dc3664d352c063a86a910f99178d401489b2abd4ca8752110a3dac3c5c92606a6c90baad55d6c4a23b8c4d28941b3d60c
+MISC ChangeLog 2529 SHA256 29e344a23f7108718c293058e19f3977a82a463fbcb29c822706352dc04d7283 SHA512 e6b98ec7718aeaeea601d3090dd9e06e0571b9efbc701a027ef08714b651af5d75fb9d80188a9411452d398fac2f01acabbaf0bb87c63e26ab4e17cf276a282d WHIRLPOOL 0940140d3d997bb06e309c32a255ddbd39aeb46e22fd87b72239d198c189c4502d1dd6e1ff82ce1c990f802376bbdcb1644757bcbcef00f043b52fa1d36cd05d
+MISC ChangeLog-2015 1805 SHA256 d761df16d0ce32ad72730e34e581a366fb2defb5ce36720a602fe5a1adc47d22 SHA512 9223a2c600120ecc7f5ee068bd2881467b9fffecc34f15e4e474f99e6623bd7fa3470433ba5727d161d2f455fd9ff60a82bf36a1a7f0ea17819eb5c664f1e147 WHIRLPOOL 7425c2f3581a46758740f1d801160d0187b6c8c34f75ee81a56f003cbd615d66a5d713551992ac981034ea2e36bb4a6abdfad8fb0f8aa4316bc06d72b1579bcb
+MISC metadata.xml 282 SHA256 ac9236162462e1562a26e596e7dd457a448f9367ff1a5a27ec3513ecade3026b SHA512 06c94ffb49c985c4344b170b902427ca9ce0c23b6d68330af227ab1771794f8e8b6d0ef75b5f69293c8ef0d3264c8799e1389ccdf8dfbe7c665c6477c07479e4 WHIRLPOOL 615c807081b4bef1734f1dbf9a182cb27b7de0e9bcdebd880c6b9c1ab01b95721076ddc4b4e75e93b8f777020bfd52459e9e4b1a9deb41baacc44f6cde05fd36
diff --git a/x11-misc/lsw/lsw-0.3.ebuild b/x11-misc/lsw/lsw-0.3.ebuild
new file mode 100644
index 000000000000..09db83b1ff03
--- /dev/null
+++ b/x11-misc/lsw/lsw-0.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="list window names"
+HOMEPAGE="https://tools.suckless.org/x/lsw"
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~x86"
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+src_prepare() {
+ sed -i config.mk \
+ -e '/^CC/d' \
+ -e '/^CFLAGS/{s| -Os||;s|=|+=|}' \
+ -e '/^LDFLAGS/{s|=|+=|;s| -s||}' || die
+ sed -i \
+ -e 's|^\t@|\t|g' \
+ -e '/^\techo/d' \
+ Makefile || die
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ doman ${PN}.1
+ dobin ${PN}
+}
diff --git a/x11-misc/lsw/metadata.xml b/x11-misc/lsw/metadata.xml
new file mode 100644
index 000000000000..bc1b97e1eb76
--- /dev/null
+++ b/x11-misc/lsw/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>