summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Keen2015-06-13 00:12:26 -0400
committerKyle Keen2015-06-13 00:12:26 -0400
commit21e0ca3d90ac45c61d9b765a6c8703b09d8b522d (patch)
tree522e074b9c00352d45eba8fe14c518c531582d0f
downloadaur-fexl-git.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD39
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b69e1d526a6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = fexl-git
+ pkgdesc = A small embeddable interpreter for a programming language based on functions.
+ pkgver = 20131020
+ pkgrel = 1
+ url = http://fexl.com/code/
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ makedepends = python2
+ source = git://github.com/chkoreff/Fexl
+ source = http://kmkeen.com/tmp/ldsed
+ md5sums = SKIP
+ md5sums = dcdf078713e95432f2ab8be9fb501fe3
+
+pkgname = fexl-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f535ab499cc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Kyle Keen <keenerd@gmail.com>
+pkgname=fexl-git
+pkgver=20131020
+pkgrel=1
+pkgdesc="A small embeddable interpreter for a programming language based on functions."
+url="http://fexl.com/code/"
+arch=('i686' 'x86_64')
+license=("GPL3")
+#depends=()
+makedepends=('git' 'python2')
+source=('git://github.com/chkoreff/Fexl'
+ 'http://kmkeen.com/tmp/ldsed')
+md5sums=('SKIP'
+ 'dcdf078713e95432f2ab8be9fb501fe3')
+
+_gitname="Fexl"
+
+pkgver() {
+ cd "$_gitname"
+ git show -s --format="%ci" HEAD | sed -e 's/-//g' -e 's/ .*//'
+}
+
+
+build() {
+ cd "$srcdir/$_gitname"
+ # everything about the build script continues to be broken
+ sed -i 's/$options$list_obj/& -ldl/g' build
+ sed -i 's/^.*chown/echo #&/g' build
+}
+
+package() {
+ cd "$srcdir/$_gitname"
+ ./build install in "$pkgdir/usr"
+
+ # fix the broken library links
+ python2 "$srcdir/ldsed" "$pkgdir" "$pkgdir/usr/bin/fexl"
+}
+
+