summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorVlad Glagolev2019-08-24 19:36:47 +0000
committerVlad Glagolev2019-08-24 19:36:47 +0000
commit8c07d7bc057c5c2947aa66920e839c499ed279c8 (patch)
treeb6da7ff42a243556dcbffa09471f762c3cb6bfac /crypto
parent39d549b21d4ce5d9f7f2179e1cbce820d2decee2 (diff)
pinentry-dmenu: new spell, pinentry program with the charm of dmenu
Diffstat (limited to 'crypto')
-rwxr-xr-xcrypto/pinentry-dmenu/BUILD1
-rwxr-xr-xcrypto/pinentry-dmenu/DEPENDS8
-rwxr-xr-xcrypto/pinentry-dmenu/DETAILS16
-rw-r--r--crypto/pinentry-dmenu/HISTORY2
-rwxr-xr-xcrypto/pinentry-dmenu/PRE_BUILD12
5 files changed, 39 insertions, 0 deletions
diff --git a/crypto/pinentry-dmenu/BUILD b/crypto/pinentry-dmenu/BUILD
new file mode 100755
index 0000000000..8f58e6df93
--- /dev/null
+++ b/crypto/pinentry-dmenu/BUILD
@@ -0,0 +1 @@
+make
diff --git a/crypto/pinentry-dmenu/DEPENDS b/crypto/pinentry-dmenu/DEPENDS
new file mode 100755
index 0000000000..d47b5b40fe
--- /dev/null
+++ b/crypto/pinentry-dmenu/DEPENDS
@@ -0,0 +1,8 @@
+depends libx11 &&
+depends libxinerama &&
+depends libxft &&
+depends fontconfig &&
+depends libconfig &&
+depends libassuan &&
+depends libgpg-error &&
+depends gpgme
diff --git a/crypto/pinentry-dmenu/DETAILS b/crypto/pinentry-dmenu/DETAILS
new file mode 100755
index 0000000000..4f4efb2326
--- /dev/null
+++ b/crypto/pinentry-dmenu/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=pinentry-dmenu
+ VERSION=0.2.1
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE_URL[0]=https://github.com/ritze/${SPELL}/archive/${VERSION}.tar.gz
+ SOURCE_HASH=sha512:2dfce1b9a8a1bdec7266cddf16862b82912179d2923aeb9d8374f2df5405ac7e14a16723e3bc0b9acc78fe86f16ea6786cef421159294d1aec705781727244d7
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://github.com/ritze/pinentry-dmenu
+ ENTERED=20190824
+ LICENSE[0]=GPL
+ KEYWORDS="menu pinentry"
+ SHORT="pinentry program with the charm of dmenu"
+cat << EOF
+pinentry-dmenu is a pinentry program with the charm of dmenu.
+
+This program is a fork from spine which is also a fork from dmenu.
+EOF
diff --git a/crypto/pinentry-dmenu/HISTORY b/crypto/pinentry-dmenu/HISTORY
new file mode 100644
index 0000000000..99a74becc2
--- /dev/null
+++ b/crypto/pinentry-dmenu/HISTORY
@@ -0,0 +1,2 @@
+2019-08-24 Vlad Glagolev <stealth@sourcemage.org>
+ * DETAILS, DEPENDS, {PRE_,}BUILD: created spell, version 0.2.1
diff --git a/crypto/pinentry-dmenu/PRE_BUILD b/crypto/pinentry-dmenu/PRE_BUILD
new file mode 100755
index 0000000000..5191cf30d6
--- /dev/null
+++ b/crypto/pinentry-dmenu/PRE_BUILD
@@ -0,0 +1,12 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY} &&
+
+#right install paths
+sedit "s/\/usr\/local/${INSTALL_ROOT}\/usr/" config.mk &&
+sedit "s/\${PREFIX}\/etc/${INSTALL_ROOT}\/etc/" config.mk &&
+
+sedit "s:^CXXFLAGS \+=:CXXFLAGS = ${CXXFLAGS} :" config.mk &&
+sedit "s:^CFLAGS \+=:CFLAGS = ${CFLAGS} :" config.mk &&
+sedit "s:^LDFLAGS \+=:LDFLAGS = ${LDFLAGS} :" config.mk &&
+
+sedit "s:/X11R6::" config.mk