diff options
author | Santiago Pelufo | 2015-10-23 14:50:09 -0300 |
---|---|---|
committer | Santiago Pelufo | 2015-10-23 14:50:09 -0300 |
commit | 8e44a36bfd5eafe690581221cc036e8807f00efe (patch) | |
tree | 1a8993d772c98825b498ffe7d29491021a71a541 | |
download | aur-8e44a36bfd5eafe690581221cc036e8807f00efe.tar.gz |
First commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | Makefile.in.patch | 11 | ||||
-rw-r--r-- | PKGBUILD | 48 |
3 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..45765bd82113 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = scsh-git + pkgdesc = Scheme Shell + pkgver = 20150110 + pkgrel = 1 + url = http://github.com/scheme/scsh + arch = i686 + arch = x86_64 + license = unknown + makedepends = git + depends = scheme48 + source = git+https://github.com/scheme/scsh + source = Makefile.in.patch + md5sums = SKIP + md5sums = 2ef9f652e51741fa35dd9b5aa75c5f12 + +pkgname = scsh-git + diff --git a/Makefile.in.patch b/Makefile.in.patch new file mode 100644 index 000000000000..304b9c01a7f0 --- /dev/null +++ b/Makefile.in.patch @@ -0,0 +1,11 @@ +--- Makefile.in.old 2015-10-23 14:27:40.249916693 -0300 ++++ Makefile.in 2015-10-23 14:28:00.549916100 -0300 +@@ -172,7 +172,7 @@ + + install-scsh-image: install-scsh + $(srcdir)/build/build-image.sh $(srcdir) \ +- "$(LIB)/" '$(DESTDIR)$(LIB)/scsh.image' '$(SCHEME48) -h 0' '$(LOADS)' ++ "$(DESTDIR)$(LIB)/" '$(DESTDIR)$(LIB)/scsh.image' '$(SCHEME48) -h 0' '$(LOADS)' + + clean: + rm -rf c/*.o c/*.so c/*.dSYM *.sexpr scsh.image scsh go *.dSYM diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a876f8fdaad0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: spelufo <santiagopelufo@gmail.com> +pkgname=scsh-git +pkgver=20150110 +pkgrel=1 +pkgdesc="Scheme Shell" +arch=('i686' 'x86_64') +url="http://github.com/scheme/scsh" +license=('unknown') +groups=() +depends=('scheme48') +makedepends=('git') +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("git+https://github.com/scheme/scsh" "Makefile.in.patch") +md5sums=('SKIP' + '2ef9f652e51741fa35dd9b5aa75c5f12') +validpgpkeys=() + + +pkgver() { + cd ${pkgname%-git} + git log -1 --format="%cd" --date=short | sed "s|-||g" +} + +prepare() { + cd ${pkgname%-git} + git submodule update --init + patch -Nup0 < $srcdir/Makefile.in.patch +} + +build() { + cd ${pkgname%-git} + autoreconf + ./configure --prefix=/usr --with-scheme48=/usr + make +} + +package() { + cd ${pkgname%-git} + make DESTDIR="$pkgdir/" install +} |