diff options
Diffstat (limited to 'x11-misc/sprop')
-rw-r--r-- | x11-misc/sprop/Manifest | 5 | ||||
-rw-r--r-- | x11-misc/sprop/metadata.xml | 8 | ||||
-rw-r--r-- | x11-misc/sprop/sprop-0.1-r1.ebuild | 47 |
3 files changed, 60 insertions, 0 deletions
diff --git a/x11-misc/sprop/Manifest b/x11-misc/sprop/Manifest new file mode 100644 index 000000000000..73989d386653 --- /dev/null +++ b/x11-misc/sprop/Manifest @@ -0,0 +1,5 @@ +DIST sprop-0.1.tar.gz 2750 SHA256 c1b786d9fbd81a57addd7e21a34c5a121543cbf9f38fe309e7b452ba94b69ab5 SHA512 74f918b2bbf627e269a674cabd8c4c26192ba67a7240061c0f0f6ddc8e86c32aff83352f2b2f4a2c6b2fcf7245cb1293ae98a2e7bd6189d632e20aa603764ddb WHIRLPOOL 4fae18dcaae26acd5ab3c93f752ab011419d1101f5ad8b1c777749e59028988ec7b4606779a8b314acdeed1d8c4496ba5f722f477eed2c8ee08e1b42c49e9fe2 +EBUILD sprop-0.1-r1.ebuild 744 SHA256 c6a982289d54aafd5ad0b1f0551155c311e02bf97c6c2268577ddd55a22b1da7 SHA512 eb310475899f814cafd69dc2b3324e75b01c607fa9ee88bcec53661591d812becc179ab54cc60aba95c25194e94a9531b8ed62c74f4595f68696bfb40d5bdbcc WHIRLPOOL 3c32d8c00b64d48751bd86a9cc33f75b6de428be53bbfe759466c55eeb8e99b40957621f79584b04e1e7f4b410f4663e92fac816a1b93dd639b4c95273db44ce +MISC ChangeLog 2679 SHA256 6fc9b5ce3a0c19cd28056d6020135d76c2ac8fe43909a5b59299ccd66149c2ac SHA512 f7cb01c206aac073da3c25e7baa492ef5fcca089775b5a7866636a4b24ef18f801c3ff80cc08fa860596d933788a1524d1c203ef83cf2ef32397562ab974e90f WHIRLPOOL a1f4500fd2818dc4ed0723a7a9dee4df39a4f7d541a087b564b7274bae087ae6ed932661c4ab64b32f236a4dcd6f4f6fc33a25a07e4b65649fe79f9c4f2b0d8e +MISC ChangeLog-2015 524 SHA256 db2698f0d52e7d313083c2e50c0c01f7c24bf9842fc11077174184f29dea474d SHA512 1ccea565bfd0617f2176190948790ae8cb29dd71ec07334a20fe6d618bdab74b01c13b3f4098cf5c28487c7acaddd88ddb740a11690802b116606fa7e34d7e11 WHIRLPOOL 48785c3a7c08bdd6509db87740a093efc2aab0e8560c757ab7a3e17ba40e1345792808fcd132f0a0ed8300aab8022dd21ac5a7db0783a6ca496dd10ff790204f +MISC metadata.xml 238 SHA256 bae0588f6a20ccebb0e76d3ad782fcb2adfd1ea5b9fc1433851379423a103b72 SHA512 b0b981ef72f4d295f427f92dc9931553b4fb7a91c8ed63fa1f28bdbe8bc61d6f0943e1217eb7b61b8d85d9685cbe759db49f094a18a1461cb48429affe76d993 WHIRLPOOL ad8bdcb129ac41a2941e41186ec94e845858818fe21b95b69adc902ddbe0eb4c4bcce8f00d5f167981852184df07e355866a07f50dcdc8f7cd7edf20ed95ecee diff --git a/x11-misc/sprop/metadata.xml b/x11-misc/sprop/metadata.xml new file mode 100644 index 000000000000..a8fb43312942 --- /dev/null +++ b/x11-misc/sprop/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="person"> +<email>jer@gentoo.org</email> +<name>Jeroen Roovers</name> +</maintainer> +</pkgmetadata> diff --git a/x11-misc/sprop/sprop-0.1-r1.ebuild b/x11-misc/sprop/sprop-0.1-r1.ebuild new file mode 100644 index 000000000000..7c0084b7b4e9 --- /dev/null +++ b/x11-misc/sprop/sprop-0.1-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="a simple X property utility" +HOMEPAGE="https://tools.suckless.org/x/sprop" +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 \ + -e '/^CC/d' \ + -e '/^CFLAGS/s| =| +=|;s| -Os||g' \ + -e '/^LDFLAGS/s|= -s|+=|g' \ + config.mk || die + + sed -i \ + -e 's|@${CC}|$(CC)|g' \ + Makefile || die + + sed -i \ + -e "s|VERSION|${PV}|g" \ + ${PN}.1 || die + + default + + tc-export CC +} + +src_compile() { emake sprop; } + +src_install() { + dobin ${PN} + doman ${PN}.1 +} |