added hstr

This commit is contained in:
Kevin Muñoz 2023-09-07 10:08:14 -05:00
parent 12ba62173c
commit 0ad5354622
No known key found for this signature in database
GPG Key ID: 3CA0B9DF1BE7CE09
9 changed files with 206 additions and 4 deletions

View File

@ -0,0 +1,9 @@
PREFIX = /usr
install:
install -dm755 $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
install -m0644 condorcore{.gpg,-trusted,-revoked} $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
uninstall:
rm -f $(DESTDIR)$(PREFIX)/share/pacman/keyrings/condorcore{.gpg,-trusted,-revoked}
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/pacman/keyrings/

View File

@ -1,6 +1,6 @@
pkgname=condorcore-keyring
pkgver=20230830
pkgrel=1
pkgver=20230903
pkgrel=2
pkgdesc='CondorCore keyring'
arch=('any')
url='https://condorbs.net/'
@ -13,9 +13,9 @@ source=('https://condorcs.net/mrhacker/keyring/raw/branch/master/Makefile'
validpgpkeys=('597244DBEA52EC6EFE5F36A4FDD42A59FD43C07B' # condorbs master key
)
sha512sums=('c8abce2fd59b3170925512725b0219b5de08075c33077ae5660f30887fdcd878b1bd1506f00f96398dd440b45dcf6c5c06ec8258a2c2e0155ba731292b99c0e6'
'6d70e73dc59e65cb4427311d0824fb4b08feeff26b7e0d6b98ab82ad437c2414710559bdf7d29667138c1abea3392c4e1cfbe8985e593b8b0cd3bed8330194be'
'83f9ab2a82a33f8228c027dd9ab6673fd946bc13f4685c16e52d91822f7e402b41dd467be0bd045e89db164242b62d6e592ee9329f6c348e85ca8eb362e36308'
'cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e'
'6d87a54bbe19b0c878859ef34b82b205d19bfc72d358b5df89b4bc6fb8b925cdecddee4f999cb9b106cf9cf7a9cd6f35d4ed79e0d7dd73349e306114991f24a0')
'977f85a80300b1435047da09327978e86a2ea400e5125a3cf1369ab03eadc7f9a7cebd8ab25caabfa9626c89f5578d50493ea590d812a2980dae7ea593a9b3bf')
package() {
cd "${srcdir}"

View File

View File

@ -0,0 +1,3 @@
2B9D22B41F2AF1042BFCE73A3CA0B9DF1BE7CE09:4:
597244DBEA52EC6EFE5F36A4FDD42A59FD43C07B:4:
9E646BB0630C8FD18ACD15541B93E6A766CD229D:4:

View File

@ -0,0 +1,86 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
xjMEZNlVYBYJKwYBBAHaRw8BAQdAqrHl4S2UIU1DVv75VVqxYWzMXIj6DUYOEdx5
9S54zibNO0tldmluIE11w7FveiAoQ2liZXJTZWN1cml0eSBFbmdpbmVlcikgPGtt
dW5vekBjb25kb3Jicy5uZXQ+wpAEExYIADgWIQQrnSK0HyrxBCv85zo8oLnfG+fO
CQUCZNlVYAIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRA8oLnfG+fOCS2Y
AP9NkmVFAljJiYFLtc7o1xB3xT/qtfJKw95khnhQFLqd5AEAsb5vlZ/bDvb56Yge
a+O/ar+qpq1q+cGvnUx2/OGPJg7CdQQQFggAHRYhBFlyRNvqUuxu/l82pP3UKln9
Q8B7BQJk9L04AAoJEP3UKln9Q8B7tsUBAI3bUgjtoc57+lpT+Nfa/JDfddLejElW
mZBITOnpHtT9AQDPBcKJwR4BXdPvXKYizEUq758weamJJK+YC/OHFQGHBM07S2V2
aW4gTXXDsW96IChDeWJlclNlY3VyaXR5IEVuZ2luZWVyKSA8a211bm96QGNvbmRv
cmJzLm5ldD7CwGYEExYIAM4CGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4ACGQEW
IQQrnSK0HyrxBCv85zo8oLnfG+fOCQUCZOd3g0MUgAAAAAAQACpwcm9vZkBhcmlh
ZG5lLmlkaHR0cHM6Ly9tYXN0b2Rvbi5jZW50YXVyaWNvcmV4Lm5ldC9Aa211bm96
ThSAAAAAABAANXByb29mQGFyaWFkbmUuaWRodHRwczovL3Qub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7oC
CIYeYcvDgfp7jFeoh5qAi85gZhlaOncvh+WCiA5R637TjM9XQaIfhoRuiM+VL1CC
Kzq7NWx2S+DZpNWVPWY2vChaAgkBJC6GG5u2gq8zU6o84ThaDd0kZe3jfmhg8O8K
13tpOV6ovOjgK7kCtILqYsnW7RmZ4YEhfYUJtuhIe7CkI1xrpo0=
=N+0o
-----END PGP PUBLIC KEY BLOCK-----

14
hstr-git/.SRCINFO Normal file
View File

@ -0,0 +1,14 @@
pkgbase = hstr-git
pkgdesc = Bash and Zsh shell history suggest box - easily view, navigate, search and manage your command history
pkgver = 2.3.r3.g6507ac7
pkgrel = 1
url = https://github.com/dvorka/hstr
arch = x86_64
license = Apache
makedepends = git
provides = hstr
conflicts = hstr
source = hstr-git::git+https://github.com/dvorka/hstr.git
sha256sums = SKIP
pkgname = hstr-git

42
hstr-git/PKGBUILD Normal file
View File

@ -0,0 +1,42 @@
# Maintainer: Kevin Muñoz <kmunoz@condorbs.net>
pkgname=hstr-git
pkgver=3.1.r0.g4dca4c7
pkgrel=1
pkgdesc="Bash and Zsh shell history suggest box - easily view, navigate, search and manage your command history"
arch=('x86_64')
url="https://github.com/dvorka/hstr"
license=('Apache')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+$url.git")
sha256sums=('SKIP')
pkgver() {
git -C $pkgname describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
sed -i "s|<ncursesw/curses.h>|<curses.h>|g" $pkgname/src/include/hstr{,_curses}.h
}
build() {
cd $pkgname/build/tarball
./tarball-automake.sh
CFLAGS=${CFLAGS/-Werror=format-security/}
CXXFLAGS=${CXXFLAGS/-Werror=format-security/}
cd ../..
./configure --prefix=/usr
make
}
package() {
install -Dm644 $pkgname/{Changelog,README.md} -t "$pkgdir/usr/share/doc/${pkgname%-git}"
make -C $pkgname DESTDIR="$pkgdir/" install
rm -f "$pkgdir/usr/bin/hh"
}

14
hstr/.SRCINFO Normal file
View File

@ -0,0 +1,14 @@
pkgbase = hstr
pkgdesc = Bash and Zsh shell history suggest box - easily view, navigate, search and manage your command history.
pkgver = 3.1
pkgrel = 1
url = https://github.com/dvorka/hstr
arch = x86_64
license = Apache
makedepends = readline
makedepends = ncurses
depends = readline
source = https://github.com/dvorka/hstr/archive/3.1.tar.gz
sha256sums = e5293d4fe2502662f19c793bef416e05ac020490218e71c75a5e92919c466071
pkgname = hstr

34
hstr/PKGBUILD Normal file
View File

@ -0,0 +1,34 @@
# Maintainer: Kevin Muñoz <kmunoz@condorbs.net>
pkgname=hstr
pkgver=3.1
pkgrel=1
pkgdesc="Bash and Zsh shell history suggest box - easily view, navigate, search and manage your command history."
arch=('x86_64')
url="https://github.com/dvorka/hstr"
license=('Apache')
makedepends=('readline' 'ncurses')
depends=('readline')
source=("https://github.com/dvorka/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('e5293d4fe2502662f19c793bef416e05ac020490218e71c75a5e92919c466071')
build() {
cd "$pkgname-$pkgver/build/tarball"
./tarball-automake.sh
cd ../..
sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" src/include/hstr_curses.h
sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" src/include/hstr.h
./configure --prefix=/usr
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -D -p -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -D -p -m 644 Changelog "${pkgdir}/usr/share/doc/${pkgname}/Changelog"
install -D -p -m 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}