added pman helper build scripts

This commit is contained in:
Bryan Joshua Pedini 2024-09-17 08:58:16 +02:00
commit 7f8786babd
5 changed files with 73 additions and 0 deletions

16
.SRCINFO Normal file
View File

@ -0,0 +1,16 @@
pkgbase = pman-helper
pkgdesc = A pacman helper script, because you forget all the stupid flags
pkgver = 1.1.1
pkgrel = 1
url = https://git.bjphoster.com/source/pman
arch = any
license = MIT
depends = bash
depends = pacman
conflicts = pman
source = https://git.bjphoster.com/source/pman/archive/1.1.1.tar.gz
md5sums = 04826025b56e9ab28f79f63cbb5b0f60
sha1sums = 908e8746681f3b0f65128a05bf954f24e0d57346
sha256sums = ab090fa3c7e4e5c97725799e27106ccb5506b05e0f0d43c0688f26371376c771
pkgname = pman-helper

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
# downloaded tarbals
*.tar.gz
# built packages
*.pkg.tar.zst

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2024 Bryan Joshua Pedini
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

30
PKGBUILD Normal file
View File

@ -0,0 +1,30 @@
# Maintainer: Bryan Joshua Pedini <bryan [at] pedini [dot] dev>
_pkgname="pman"
pkgname="$_pkgname-helper"
pkgver="1.1.1"
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=(
"908e8746681f3b0f65128a05bf954f24e0d57346"
)
sha256sums=(
"ab090fa3c7e4e5c97725799e27106ccb5506b05e0f0d43c0688f26371376c771"
)
md5sums=(
"04826025b56e9ab28f79f63cbb5b0f60"
)
package() {
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}"
}

2
README.md Normal file
View File

@ -0,0 +1,2 @@
# pman-helper
PKGBUILD script for arch linux for `pman-helper` package (`pman` command)