diff options
author | Jeremy Baxter | 2024-03-08 10:04:01 +1300 |
---|---|---|
committer | Jeremy Baxter | 2024-03-08 10:04:01 +1300 |
commit | 8884f1e5f897a1b87f558aa74b2378a5f4c893e9 (patch) | |
tree | 032815e2acc8a0b6a5f78848641f403302e883ff /PKGBUILD | |
parent | 6c86bcc700a3ae9ce7a1f83643237926bbd8170e (diff) | |
download | aur-callisto-git.tar.gz |
move to sourcehut
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -1,25 +1,27 @@ # Maintainer: Jeremy Baxter <jtbx@disroot.org> pkgname=callisto-git -pkgver=v0.1.0.r97.g019fea4 +pkgver=0_gitbd664d10c2dee5e772b9bc3beb6a6f4bdc4203ae pkgrel=1 pkgdesc='standalone scripting platform for Lua 5.4' arch=('x86_64') -url='https://github.com/jtbx/callisto' -makedepends=('git') -license=('GPL') +url='https://sr.ht/~jeremy/callisto/' +depends=(readline) +makedepends=(git) +license=(GPL) options=('!emptydirs') -source=("$pkgname::git+https://github.com/jtbx/callisto.git") +source=("$pkgname::git+https://git.sr.ht/~jeremy/callisto") sha256sums=('SKIP') pkgver() { - cd "$pkgname" - git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + printf "0_git" + git -C "$pkgname" rev-parse HEAD } build() { cd "$pkgname" - make -j$(nproc) + ./configure -wreadline + make } package() { |