Package Details: buildapp 1.5.5-1

Git Clone URL: https://aur.archlinux.org/buildapp.git (read-only)
Package Base: buildapp
Description: A nice easy way to build Common Lisp images
Upstream URL: None
Licenses: GPL
Provides: buildapp
Submitter: AeroNotix
Maintainer: AeroNotix
Last Packager: AeroNotix
Votes: 2
Popularity: 0.004891
First Submitted: 2015-09-02 17:54
Last Updated: 2015-09-02 18:14

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

eschulte commented on 2017-05-03 18:14

I suggest the following changes to PKGBUILD with reflect haawda's comment below as well as adding support for building both ccl and sbcl packages.

# Maintainer: <aaron.l.france@gmail.com>
pkgname=buildapp
pkgver=1.5.6
pkgrel=2
epoch=
pkgdesc="A nice easy way to build Common Lisp images"
arch=('i686' 'x86_64')
url=""
license=('BSD')
depends=()
makedepends=('ccl' 'sbcl')
provides=('buildapp')
source=("$pkgname-$pkgver.tar.gz::https://github.com/xach/$pkgname/archive/release-$pkgver.tar.gz")
md5sums=('b39fe73d2c13b4e2381f53f49b02c9ff')

build() {
cd "$srcdir/$pkgname-release-$pkgver"
make LISP=ccl
mv buildapp buildapp-ccl
make clean
make
mv buildapp buildapp-sbcl
cat <<EOF > buildapp
#!/bin/sh
if [ "$LISP" == "ccl" ];then
exec \$0-ccl \$@
else
exec \$0-sbcl \$@
fi
EOF
}

package() {
install -d "$pkgdir"/usr/bin
install -Dm755 "$srcdir/$pkgname-release-$pkgver"/buildapp-sbcl "$pkgdir"/usr/bin/buildapp-sbcl
install -Dm755 "$srcdir/$pkgname-release-$pkgver"/buildapp-ccl "$pkgdir"/usr/bin/buildapp-ccl
install -Dm755 "$srcdir/$pkgname-release-$pkgver"/buildapp "$pkgdir"/usr/bin/buildapp
}

# vim:set ts=2 sw=2 et:


Edit: I have these changes as a series of 3 commits against the underlying git repository which I share if desired.

haawda commented on 2017-01-29 18:12

1.5.6 is out.

It is good practice to rename the downloaded tarball to $pkgname-$pkgver using the :: syntax, i.e.

source=("$pkgname-$pkgver.tar.gz::https://github.com/xacht/$pkgname/archive/$pkgver.tar.gz")

This avoids name clashes in the AUR-User's $SRCDEST.