updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / liquibase / PKGBUILD
blobb2849528f000fb2a08021ceab4bb3fff52c26bf2
1 # $Id$
2 # Maintainer: Andreas Pieber <anpieber@gmail.com>
4 pkgname=liquibase
5 pkgver=2.0.1
6 pkgrel=2
7 pkgdesc="A database management tool"
8 arch=('any')
9 url="http://www.liquibase.org/"
10 license=('APACHE')
11 depends=('java-environment')
12 source=(http://liquibase.org/liquibase-$pkgver-bin.tar.gz
13         liquibase.sh)
14 md5sums=('5dcceb7b3b5d39c4c39479fce6da2270'
15          'c484d4bb165302b261c96dcd2acc6da9')
17 build() {
18   # create folders
19   mkdir -p $pkgdir/opt/liquibase
21   # install profile file
22   install -D -m 755 $srcdir/liquibase.sh $pkgdir/etc/profile.d/liquibase.sh
24   # move liquibase tar content to /opt/liquibase
25   cp -r $srcdir/* $pkgdir/opt/liquibase
27   # make liquibase executable
28   chmod +x $pkgdir/opt/liquibase/liquibase
30   # remove created, but not required data
31   rm liquibase-$pkgver-bin.tar.gz
32   rm liquibase.sh