Skip to content

Commit

Permalink
provide first version only containing the most basic service
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Pieber <[email protected]>
  • Loading branch information
anpieber committed May 10, 2011
1 parent a8bc5de commit 6deef94
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
34 changes: 34 additions & 0 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# $Id$
# Maintainer: Andreas Pieber <[email protected]>

pkgname=liquibase
pkgver=2.0.1
pkgrel=2
pkgdesc="A database management tool"
arch=('any')
url="http://www.liquibase.org/"
license=('APACHE')
depends=('java-environment')
source=(http://liquibase.org/liquibase-$pkgver-bin.tar.gz
liquibase.sh)
md5sums=('5dcceb7b3b5d39c4c39479fce6da2270'
'c484d4bb165302b261c96dcd2acc6da9')

build() {
# create folders
mkdir -p $pkgdir/opt/liquibase

# install profile file
install -D -m 755 $srcdir/liquibase.sh $pkgdir/etc/profile.d/liquibase.sh

# move liquibase tar content to /opt/liquibase
cp -r $srcdir/* $pkgdir/opt/liquibase

# make liquibase executable
chmod +x $pkgdir/opt/liquibase/liquibase

# remove created, but not required data
rm liquibase-$pkgver-bin.tar.gz
rm liquibase.sh
}

5 changes: 5 additions & 0 deletions liquibase.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

export LIQUIBASE_HOME=/opt/liquibase/
export PATH=$PATH:$LIQUIBASE_HOME

0 comments on commit 6deef94

Please sign in to comment.