wofi-calc/PKGBUILD
Zeioth a905e10bb3 @noobping CHECKSUMS don't make sense in our case, as the project is
hosted in a git repository, which ensures integrity. The case of use for
checksums is when we donwload data from an external source (example: the nvidia blob in the
nvidia drivers)
2022-04-11 02:41:59 +02:00

35 lines
770 B
Bash

pkgname=wofi-calc-git
pkgver=1.0.r26.e2113b4
pkgrel=1
epoch=
pkgdesc="A simple calculator for wofi, inspired in rofi-calc."
arch=(any)
url="https://github.com/Zeioth/wofi-calc.git"
license=('MIT')
groups=()
depends=(wofi libqalculate)
makedepends=(wofi libqalculate)
checkdepends=()
optdepends=()
provides=(wofi-calc-git)
conflicts=(wofi-calc)
replaces=()
backup=()
options=()
install=
changelog=
source=("git+$url")
noextract=()
sha256sums=('SKIP')
validpgpkeys=()
pkgver() {
cd "${_pkgname}"
printf "1.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
# Note: 'install' is a chmod+cp one-liner command by GNU
mkdir -p "$pkgdir"/usr/bin
install -m 555 "${srcdir}"/wofi-calc/wofi-calc.sh "$pkgdir"/usr/bin/wofi-calc
}