summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatie Wolfe2020-05-23 07:59:30 -0400
committerKatie Wolfe2020-05-23 07:59:30 -0400
commit2d8d565c6667b47b757bed262f33cac75a0eed62 (patch)
treee7b7baf4307a7ab91efd67189f903fe1299bdcb7
parent0ba805fe0b3d2da3e3734e433d17a3ffc5c3ff7d (diff)
downloadaur-2d8d565c6667b47b757bed262f33cac75a0eed62.tar.gz
Update to 0.4.0
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD17
2 files changed, 16 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c93919673ed..bf29947bd3b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,16 @@
pkgbase = fennel
pkgdesc = A Lua Lisp language
- pkgver = 0.3.2
- pkgrel = 2
+ pkgver = 0.4.0
+ pkgrel = 1
url = https://github.com/bakpakin/Fennel
arch = x86_64
license = MIT
+ makedepends = make
depends = lua
provides = fennel
conflicts = fennel
- source = fennel-0.3.2.tar.gz::https://github.com/bakpakin/Fennel/archive/0.3.2.tar.gz
- sha512sums = 14fe3e2530d7d733c39a457067669ec21e2aa071bdc4de5b787051ebe7af3d276715666ffded3f90cfcb8bd6a19b777130d2b8159ae6991dcdc4bbe4b62b269b
+ source = fennel-0.4.0.tar.gz::https://github.com/bakpakin/Fennel/archive/0.4.0.tar.gz
+ sha512sums = f86da3015680b6a3ea18413480d0c43b37a93e6753dff1fe206a0cf02f5278ab20eca06df32816da6e381a70b28fcc5787a867422d56d4340f2d506a02ff5f71
pkgname = fennel
diff --git a/PKGBUILD b/PKGBUILD
index 3ae08d674f4..74decf2fa09 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,25 +3,30 @@
_lua_version=5.3
pkgname=fennel
-_pkgver='0.3.2'
-pkgver=0.3.2
-pkgrel=2
+_pkgver='0.4.0'
+pkgver=0.4.0
+pkgrel=1
pkgdesc="A Lua Lisp language"
arch=('x86_64')
url="https://github.com/bakpakin/Fennel"
license=('MIT')
depends=('lua')
+makedepends=('make')
provides=(fennel)
conflicts=(fennel)
source=("fennel-${_pkgver}.tar.gz::https://github.com/bakpakin/Fennel/archive/${_pkgver}.tar.gz")
-sha512sums=('14fe3e2530d7d733c39a457067669ec21e2aa071bdc4de5b787051ebe7af3d276715666ffded3f90cfcb8bd6a19b777130d2b8159ae6991dcdc4bbe4b62b269b')
+sha512sums=('f86da3015680b6a3ea18413480d0c43b37a93e6753dff1fe206a0cf02f5278ab20eca06df32816da6e381a70b28fcc5787a867422d56d4340f2d506a02ff5f71')
+
+build() {
+ cd "$srcdir/Fennel-${_pkgver}"
+ make fennel fennel.lua fennelview.lua fennelfriend.lua
+}
package() {
cd "$srcdir/Fennel-${_pkgver}"
- install -Dm644 "fennel.lua" "fennelview.fnl" \
+ install -Dm644 "fennel.lua" "fennelview.lua" "fennelfriend.lua" \
-t "${pkgdir}/usr/lib/lua/${_lua_version}"
-
install -Dm755 "fennel" \
"${pkgdir}/usr/bin/fennel"
}