mirror of
https://github.com/alrayyes/pinentry-dmenu
synced 2023-11-14 01:56:34 +00:00
initial improt
This commit is contained in:
commit
0470049d23
17
.SRCINFO
Normal file
17
.SRCINFO
Normal file
@ -0,0 +1,17 @@
|
||||
pkgbase = pinentry-dmenu
|
||||
pkgdesc = A pinentry program with the charm of dmenu
|
||||
pkgver = 0.2.1
|
||||
pkgrel = 1
|
||||
url = https://github.com/ritze/pinentry-dmenu
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL2
|
||||
depends = sh
|
||||
depends = libconfig
|
||||
depends = libxinerama
|
||||
depends = libxft
|
||||
provides = pinentry
|
||||
source = https://github.com/ritze/pinentry-dmenu/archive/0.2.1.zip
|
||||
sha256sums = c3150ef052ab3362155a0f69da91221fe5ec27a2cddafe0ce1298a026acab63e
|
||||
|
||||
pkgname = pinentry-dmenu
|
20
.gitignore
vendored
Normal file
20
.gitignore
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
# Created by https://www.gitignore.io/api/archlinuxpackages
|
||||
# Edit at https://www.gitignore.io/?templates=archlinuxpackages
|
||||
|
||||
### ArchLinuxPackages ###
|
||||
*.tar
|
||||
*.tar.*
|
||||
*.jar
|
||||
*.exe
|
||||
*.msi
|
||||
*.zip
|
||||
*.tgz
|
||||
*.log
|
||||
*.log.*
|
||||
*.sig
|
||||
|
||||
pkg/
|
||||
src/
|
||||
|
||||
# End of https://www.gitignore.io/api/archlinuxpackages
|
22
LICENSE.md
Normal file
22
LICENSE.md
Normal file
@ -0,0 +1,22 @@
|
||||
The MIT License (MIT)
|
||||
=====================
|
||||
|
||||
Copyright © `2019` `Ryan Kes <alrayyes at gmail dot com>`
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
and/or sell copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
33
PKGBUILD
Normal file
33
PKGBUILD
Normal file
@ -0,0 +1,33 @@
|
||||
# Maintainer: Ryan Kes <alrayyes@gmail.com>
|
||||
|
||||
pkgname=pinentry-dmenu
|
||||
pkgver=0.2.1
|
||||
pkgrel=1
|
||||
pkgdesc="A pinentry program with the charm of dmenu"
|
||||
url="https://github.com/ritze/pinentry-dmenu"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL2')
|
||||
depends=('sh' 'libconfig' 'libxinerama' 'libxft')
|
||||
provides=('pinentry')
|
||||
source=(https://github.com/ritze/pinentry-dmenu/archive/$pkgver.zip)
|
||||
sha256sums=('c3150ef052ab3362155a0f69da91221fe5ec27a2cddafe0ce1298a026acab63e')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
# to use a custom config.h, place it in the package directory
|
||||
if [[ -f ${SRCDEST}/config.h ]]; then
|
||||
cp "${SRCDEST}/config.h" .
|
||||
fi
|
||||
}
|
||||
|
||||
build(){
|
||||
cd $pkgname-$pkgver
|
||||
make \
|
||||
X11INC=/usr/include/X11 \
|
||||
X11LIB=/usr/lib/X11
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make PREFIX=/usr DESTDIR="$pkgdir" install
|
||||
}
|
13
README.md
Normal file
13
README.md
Normal file
@ -0,0 +1,13 @@
|
||||
# My Dmenu Build
|
||||
|
||||
[Pinentry-dmenu](https://github.com/ritze/pinentry-dmenu) [Arch](https://www.archlinux.org/) package modified with my font.
|
||||
|
||||
```
|
||||
makepkg -si
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
This theme is released under the MIT License. For more information read the [license][license].
|
||||
|
||||
[license]: LICENSE.md
|
19
config.h
Normal file
19
config.h
Normal file
@ -0,0 +1,19 @@
|
||||
/* See LICENSE file for copyright and license details. */
|
||||
/* Default settings; can be overriden by command line. */
|
||||
|
||||
static int bottom = 0;
|
||||
static int embedded = 0;
|
||||
static int minpwlen = 32;
|
||||
static int mon = -1;
|
||||
|
||||
static const char *asterisk = "*";
|
||||
static const char *fonts[] = {
|
||||
"SauceCodePro Nerd Font Mono:style=Regular:pixelsize=18:antialias=true:autohint=true"
|
||||
};
|
||||
static const char *prompt = NULL;
|
||||
static const char *colors[SchemeLast][4] = {
|
||||
[SchemePrompt] = { "#bbbbbb", "#222222" },
|
||||
[SchemeNormal] = { "#bbbbbb", "#222222" },
|
||||
[SchemeSelect] = { "#eeeeee", "#005577" },
|
||||
[SchemeDesc] = { "#bbbbbb", "#222222" }
|
||||
};
|
Loading…
Reference in New Issue
Block a user