-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
33 lines (27 loc) · 879 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id$
# Maintainer: Andreas Pieber <[email protected]>
pkgname=liquibase
pkgver=3.4.1
pkgrel=1
pkgdesc="A database management tool"
arch=('any')
url="http://www.liquibase.org/"
license=('APACHE')
depends=('java-environment')
source=(https://github.com/liquibase/liquibase/releases/download/liquibase-parent-$pkgver/liquibase-$pkgver-bin.tar.gz
liquibase.sh)
md5sums=('b1a81cabad83dc13268eeba8ad81c718'
'c484d4bb165302b261c96dcd2acc6da9')
package() {
# 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
}