summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6da08628f5332cd69770f12e133ba70beedc89e1 (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=dec2hex
pkgname="${_pkgname}"
pkgver=20231128.01
pkgrel=1
pkgdesc="Converts decimal numbers to hexadecimal numbers using only sh."
url="https://aur.archlinux.org/packages/dec2hex"
license=(
  'GPL3'
)
arch=(
  "any"
)
depends=(
  'sh'
)
optdepends=(
  "hex2dec: To convert the other way round: From hexadecimal to decimal."
)
makedepends=()
provides=()
conflicts=()
source=(
  "dec2hex"
)
sha256sums=(
  'b2145ccc5f2d973dc1ff9a7d36b58970032c92e0b8174f05f72ea5ad0e1f4858'
)

pkgver() {
  printf '%s' "$("${srcdir}/dec2hex" --version)"
}

package() {
  install -Dvm755 "${srcdir}/dec2hex" "${pkgdir}/usr/bin/dec2hex"
}