2 # Maintainer: Andreas Pieber <anpieber@gmail.com>
7 pkgdesc="A database management tool"
9 url="http://www.liquibase.org/"
11 depends=('java-environment')
12 source=(http://liquibase.org/liquibase-$pkgver-bin.tar.gz
14 md5sums=('5dcceb7b3b5d39c4c39479fce6da2270'
15 'c484d4bb165302b261c96dcd2acc6da9')
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