summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorVlad Glagolev2020-12-15 23:41:23 +0000
committerVlad Glagolev2020-12-15 23:42:41 +0000
commit5c50bc4fdaeefd91c578b4fa1cc335d8bf1e2b19 (patch)
treefd742e06a44ae320092f78624c5aa857b5e894b8 /x11
parent9d2d992b2c065e2ad95073d4e9a74d73f97bb48c (diff)
stint: new spell, simple, suckless-style color grabber for X11
Diffstat (limited to 'x11')
-rwxr-xr-xx11/stint/BUILD5
-rwxr-xr-xx11/stint/DEPENDS2
-rwxr-xr-xx11/stint/DETAILS23
-rw-r--r--x11/stint/HISTORY2
-rwxr-xr-xx11/stint/PREPARE1
5 files changed, 33 insertions, 0 deletions
diff --git a/x11/stint/BUILD b/x11/stint/BUILD
new file mode 100755
index 0000000000..23425f3cc4
--- /dev/null
+++ b/x11/stint/BUILD
@@ -0,0 +1,5 @@
+make
+
+if list_find "${LDFLAGS}" "-s"; then
+ strip stint
+fi
diff --git a/x11/stint/DEPENDS b/x11/stint/DEPENDS
new file mode 100755
index 0000000000..f307d87e5c
--- /dev/null
+++ b/x11/stint/DEPENDS
@@ -0,0 +1,2 @@
+depends libx11 &&
+depends git
diff --git a/x11/stint/DETAILS b/x11/stint/DETAILS
new file mode 100755
index 0000000000..639d0ab822
--- /dev/null
+++ b/x11/stint/DETAILS
@@ -0,0 +1,23 @@
+ SPELL=stint
+ if [[ $STINT_AUTOUPDATE == y ]]; then
+ VERSION=$(date +%Y%m%d)
+ else
+ VERSION=scm
+ fi
+ SOURCE=${SPELL}-scm.tar.bz2
+ SOURCE_URL[0]=git://github.com/djpohly/${SPELL}.git:${SPELL}-scm
+ SOURCE_IGNORE=volatile
+ FORCE_DOWNLOAD=on
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
+ WEB_SITE=https://github.com/djpohly/stint
+ LICENSE[0]=GPL
+ ENTERED=20201215
+ KEYWORDS=""
+ SHORT="simple, suckless-style color grabber for X11"
+cat << EOF
+stint - simple, suckless-style color grabber for X11.
+
+When run, waits for the user to press the left mouse button. As long as the
+button is held down, it will continue to print the color under the pointer in
+decimal "RRR GGG BBB" format. Exits when the button is released.
+EOF
diff --git a/x11/stint/HISTORY b/x11/stint/HISTORY
new file mode 100644
index 0000000000..9ef8f7b012
--- /dev/null
+++ b/x11/stint/HISTORY
@@ -0,0 +1,2 @@
+2020-12-15 Vlad Glagolev <stealth@sourcemage.org>
+ * DETAILS, DEPENDS, BUILD, PREPARE: created spell, version scm
diff --git a/x11/stint/PREPARE b/x11/stint/PREPARE
new file mode 100755
index 0000000000..c449d9c225
--- /dev/null
+++ b/x11/stint/PREPARE
@@ -0,0 +1 @@
+config_query STINT_AUTOUPDATE "Update on every system update?" n