New package: flutejava-1.1.6
This commit is contained in:
parent
0124dea9bb
commit
ed6457e94e
|
@ -0,0 +1,34 @@
|
|||
# Template file for 'flutejava'
|
||||
# libreoffice uses 1.1.6
|
||||
pkgname=flutejava
|
||||
version=1.1.6
|
||||
revision=1
|
||||
hostmakedepends="openjdk8 apache-ant sacjava"
|
||||
depends="virtual?java-runtime sacjava"
|
||||
short_desc="W3C's SAC CSS parse in JavaCC"
|
||||
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||
license="W3C-19980720"
|
||||
homepage="https://www.w3.org/Style/CSS/SAC/"
|
||||
# distfiles="https://www.w3.org/2002/06/flutejava-${version}.zip"
|
||||
distfiles="https://dev-www.libreoffice.org/src/d8bd5eed178db6e2b18eeed243f85aa8-flute-${version}.zip"
|
||||
# checksum=57abb83e042088a1956d6d92933ff84d6d3839e0b8477b90d77ebce5cbe3e78b
|
||||
checksum=1b5b24f7bc543c0362b667692f78db8bab4ed6dafc6172f104d0bd3757d8a133
|
||||
|
||||
do_configure() {
|
||||
rm -f flute*.jar
|
||||
rm -f lib/sac-1.3.jar
|
||||
ln -s /usr/share/java/sac-1.3.jar lib
|
||||
}
|
||||
|
||||
do_build() {
|
||||
source /etc/profile.d/jdk.sh
|
||||
source /etc/profile.d/apache-ant.sh
|
||||
ant -Drelease=true -Dbuild.id=void -Dproject.revision=${version} dist
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vinstall "dist/flute-${version}.jar" 644 \
|
||||
usr/share/java
|
||||
ln -s "flute-${version}.jar" "$DESTDIR/usr/share/java/flute.jar"
|
||||
vlicense COPYRIGHT.html
|
||||
}
|
Loading…
Reference in New Issue