blob: ca7c9b31636c496aa5ca5bb5072483ad63c4286f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Connor Etherington <connor@concise.cc>
# ---
pkgname=editenv
pkgver=0.2.3
pkgrel=1
pkgdesc="A simple command line tool for conveniently storing and editing environment variables."
arch=(any)
url="https://gitlab.com/a4to/${pkgname}"
license=('MIT')
depends=(dialog xsel)
optdepends=('zsh: zsh completion')
install="${pkgname}.install"
source=(
"https://software.concise.cc/x86_64/${pkgname}-${pkgver}-${pkgrel}-$arch.pkg.tar.xz"
)
sha512sums=(
'42d163e05f498927ac891898d2a55a7a37a67ae4b00854f6a2297e7e0eeab4b3b844bb984ad2fb30491507a1825345b439ffe906627c8ad340dd7e0ef58480fc'
)
md5sums=(
'94451ff1b6417ec6e94eef0e8b3f3c3a'
)
validpgpkeys=(
'81BACEEBC3EA26E127166E4A819BB92A9A48160E'
)
package() {
cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}-${arch}" ||
cd "$srcdir/${pkgname}"
install -Dm644 usr/share/licenses/${pkgname}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm755 usr/bin/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
install -Dm0644 usr/share/zsh/site-functions/_${pkgname} "$pkgdir/usr/share/zsh/site-functions/_${pkgname}"
}
|