pman-helper/PKGBUILD

31 lines
949 B
Bash
Raw Permalink Normal View History

2024-09-17 06:58:16 +00:00
# Maintainer: Bryan Joshua Pedini <bryan [at] pedini [dot] dev>
_pkgname="pman"
pkgname="$_pkgname-helper"
2024-09-30 10:09:01 +00:00
pkgver="1.1.2"
2024-09-17 06:58:16 +00:00
pkgrel="1"
pkgdesc="A pacman helper script, because you forget all the stupid flags"
url="https://git.bjphoster.com/source/${_pkgname}"
arch=("any")
license=("MIT")
depends=("bash" "pacman")
conflicts=("pman") # Another package called `pman` currently exists in the AUR
source=(
"https://git.bjphoster.com/source/${_pkgname}/archive/${pkgver}.tar.gz"
)
sha1sums=(
2024-09-30 10:09:01 +00:00
"af045144e207157c2e615cedf615e68a07c1af85"
2024-09-17 06:58:16 +00:00
)
sha256sums=(
2024-09-30 10:09:01 +00:00
"9ac3b495130d8d296e8cda1c9fdf7a908679c722ab746cdc8ff2e85606dac88a"
2024-09-17 06:58:16 +00:00
)
md5sums=(
2024-09-30 10:09:01 +00:00
"33cd29b90bcf74946489e39271cbeb99"
2024-09-17 06:58:16 +00:00
)
package() {
2024-09-30 10:09:01 +00:00
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
mkdir -p "${pkgdir}/usr/bin"
install -Dm644 "${srcdir}/${_pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm755 "${srcdir}/${_pkgname}/pman.sh" "${pkgdir}/usr/bin/${_pkgname}"
2024-09-17 06:58:16 +00:00
}