blob: 79e7bff3ae5c155936d1bc83ca75dceabffde350 (
plain)
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
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: François Garillot <francois[@]garillot.net>
pkgname=drip-git
pkgver=20151019
pkgrel=2
pkgdesc="Drip is a launcher for the Java Virtual Machine that provides much faster startup times than the java command. The drip script is intended to be a drop-in replacement for the java command, only faster."
license="GPL"
url='https://github.com/ninjudd/drip'
arch=('i686' 'x86_64')
provides=('drip')
conflicts=('drip')
depends=('java-runtime')
makedepends=('git')
options=(!libtool)
_gitroot="git://github.com/flatland/drip.git"
_gitname="drip"
build() {
cd $srcdir
msg "Connecting to the GIT server...."
if [[ -d $srcdir/$_gitname ]] ; then
cd $_gitname
git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi
msg "GIT checkout done"
msg "Starting make..."
rm -rf $srcdir/$pkgname-build
git clone $srcdir/$_gitname $srcdir/$pkgname-build
cd $srcdir/$pkgname-build
make all
}
package() {
cd $srcdir/$pkgname-build
install -dm755 "$pkgdir/usr/bin"
install -Dm755 "$srcdir/$pkgname-build/bin/drip" "$srcdir/$pkgname-build/bin/drip_daemon" "$srcdir/$pkgname-build/bin/drip_proxy" "$pkgdir/usr/bin"
rm -rf $srcdir/$pkgname-build
}
|