Open samhh opened 4 years ago
Sure =), but I haven't worked with it yet. Can you help me?
I happened to piece together a PKGBUILD file. It worked well for me, but I haven't went through AUR guidelines yet so I did not rush publishing it to AUR.
# Maintainer: Valts Liepiņš <valts at tase dot lv>
pkgname=tasklite-git
pkgver=r311.34407e2
pkgrel=1
pkgdesc="CLI task manager built with Haskell and SQLite."
arch=('any')
url="https://tasklite.org/"
license=('AGPL')
makedepends=('git' 'stack')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("${pkgname%-git}::git+https://github.com/ad-si/TaskLite")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
stack build
}
package() {
cd "$srcdir/${pkgname%-git}"
mkdir -p "$pkgdir/usr/bin"
stack install tasklite-core --local-bin-path="$pkgdir/usr/bin/"
}
Any interest in packaging TaskLite for the AUR? :slightly_smiling_face: