updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / paktahn / PKGBUILD
blob160a679318b460c249c8310f95524eb6fa895a50
1 # Contributor: Leslie P. Polzer <polzer@gnu.org>
2 # Maintainer: Brit Butler <redline6561@gmail.com>
4 pkgname=paktahn
5 pkgver=0.9.6.0
6 libver=0.9.3
7 pkgrel=1
8 pkgdesc="The kick-ass package manager for Arch Linux!"
9 arch=('i686' 'x86_64')
10 depends=('pacman' 'readline' 'sudo' 'svn')
11 makedepends=('sbcl>=1.0.32')
12 license=('GPL')
13 url="http://github.com/skypher/paktahn"
14 options=(!strip)
15 install="paktahn.install"
16 source=("http://redlinernotes.com/docs/paktahn-makedeps-$libver.tbz2"
17         "http://redlinernotes.com/docs/paktahn-${pkgver}.tar.bz2")
19 build() {
20   cd "$srcdir"
22   # compile
23   SBCL=sbcl
25   $SBCL \
26        --noinform --lose-on-corruption --end-runtime-options \
27        --no-userinit --no-sysinit \
28        --eval "(pushnew :paktahn-deploy *features*)" \
29        --eval "(require :asdf)" \
30        --eval "(setf asdf:*central-registry*
31                     '(\"$srcdir/\" \"$srcdir/clbuild.paktahn/systems/\"))" \
32        --eval "(asdf:oos 'asdf:load-op 'paktahn)" \
33        --eval "(pak::build-core :forkp nil)"
35   # install binary
36   mkdir -p $pkgdir/usr/bin
37   install -m755 paktahn $pkgdir/usr/bin
39   # install helper scripts
40   mkdir -p $pkgdir/usr/lib/paktahn
41   for helper in pkgbuild-helper.sh makepkg-helper.sh; do
42     install -m755 "$helper" $pkgdir/usr/lib/paktahn
43   done
45   # create convenience symlink
46   cd $pkgdir/usr/bin
47   ln -s paktahn pak
50 md5sums=('aa71c5e639e86bee3afe7d4e27653649'
51          '2afeedbbf3da14bc1fbd45f91e0d4a66')
52 sha1sums=('1fb3e04732d00c68e7b8aa7ae0a18e9f98359e5f'
53           'cc5941cc93b483f331d346151b5aa0f69c2c59f7')