summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKatie Wolfe2020-08-23 15:04:23 -0400
committerKatie Wolfe2020-08-23 15:04:23 -0400
commit16d21ebb1c14926d6c0a36324e7dda1ea6f07085 (patch)
tree43331a1d07556e684a1c91f8bff9a6e947ec72d6 /PKGBUILD
parentff946cff86877fafd6b80ec91fe97c81719efeb4 (diff)
downloadaur-fennel-git.tar.gz
Update source to new sr.ht remote
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 94febcdad9c..17c4afbac64 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_lua_version=5.4
pkgname=fennel-git
-pkgver=r1027.a39c4d0
+pkgver=r1047.beafb1e
pkgrel=1
pkgdesc="A Lua Lisp language"
arch=('x86_64')
@@ -18,22 +18,22 @@ replaces=()
backup=()
options=()
install=
-source=("${pkgname%-git}::git+https://github.com/bakpakin/Fennel.git")
+source=('git+https://git.sr.ht/~technomancy/fennel')
noextract=()
md5sums=('SKIP')
pkgver() {
- cd "$srcdir/${pkgname%-git}"
+ cd "${srcdir}/fennel"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd "$srcdir/${pkgname%-git}"
+ cd "${srcdir}/fennel"
make fennel fennel.lua fennelview.lua
}
package() {
- cd "$srcdir/${pkgname%-git}"
+ cd "${srcdir}/fennel"
install -Dm644 "fennel.lua" "fennelview.lua" \
-t "${pkgdir}/usr/lib/lua/${_lua_version}"