Hi there,
I'm writing to request that my PKGBUILD for kate-wakatime be added to the Arch User Repository (AUR). I have tested the PKGBUILD and it works as expected. But I'm unsure about this script's formatting or other checkups. I'll really appreciate any advice.
Here's my PKGBUILD,
# Maintainer: sharafat <sharafat two thousand four at gmail>
pkgname=kate-wakatime-git
pkgver=1.3.10
pkgrel=1
pkgdesc=" Kate plugin to interface with WakaTime"
arch=('x86_64')
url="https://github.com/wakatime/$pkgname"
license=('unknown')
makedepends=('git' 'cmake' 'extra-cmake-modules')
depends=('kate')
conflicts=('kate-wakatime')
source=("git+https://github.com/Tatsh/kate-wakatime")
md5sums=('SKIP')
build() {
cmake -B build -S "kate-wakatime" \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-Wno-dev
cmake --build build
}
check() {
ctest --test-dir build --output-on-failure
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
Thank you for considering my request.