blob: 90ed5008f493b2e1e5efd37039377ac1678a6e58 (
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
36
37
|
# Maintainer: dreieck
_pkgname=hex2dec
pkgname="${_pkgname}"
pkgver=20231128.01
pkgrel=3
pkgdesc="Converts hexadecimal numbers to decimal numbers using only bash."
url="https://aur.archlinux.org/packages/hex2dec"
license=(
'GPL3'
)
arch=(
"any"
)
depends=(
'bash'
)
optdepends=(
"dec2hex: To convert the other way round: From decimal to hexadecimal."
)
makedepends=()
provides=()
conflicts=()
source=(
"hex2dec"
)
sha256sums=(
'd7463913dd7a83e1733f38f2f5322bd099082eda3eea63247d53a20ffe114311'
)
pkgver() {
printf '%s' "$("${srcdir}/hex2dec" --version)"
}
package() {
install -Dvm755 "${srcdir}/hex2dec" "${pkgdir}/usr/bin/hex2dec"
}
|