From 14fbf3c41ebe2df64e74237a95f3238af094ea4c Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Mon, 16 Sep 2024 19:03:04 +0200 Subject: [PATCH] added PKGBUILD for AUR --- PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..804a91c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Bryan Joshua Pedini + +_pkgname="pman" +pkgname="$_pkgname-helper" +pkgver="1.2.0" +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=( + "LICENSE" + "pman.sh" +) +sha256sums=( + "3964e8cf1894ecfea6ca57cf350e7a538229cd205ac35293ea8bf3fb19c0b86f" + "6bb6aab1dd31ae0a326a24afc34e62da13d482843fad5872562135007b43f1a5" +) +md5sums=( + "72db3ecfa718db796cd818f883cbdc68" + "369ea3fa3fb44dcfe035a297f64af9e5" +) +package() { + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm755 pman.sh "${pkgdir}/usr/bin/${_pkgname}" +}