Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
a387983b
Commit
a387983b
authored
6 years ago
by
Jakub Jirutka
Browse files
Options
Downloads
Patches
Plain Diff
community/apache-ant: remove "return 1" from abuild
parent
1efc5728
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/apache-ant/APKBUILD
+7
-8
7 additions, 8 deletions
community/apache-ant/APKBUILD
with
7 additions
and
8 deletions
community/apache-ant/APKBUILD
+
7
−
8
View file @
a387983b
...
...
@@ -4,13 +4,12 @@
pkgname
=
apache-ant
pkgver
=
1.10.3
pkgrel
=
0
pkgdesc
=
"A java-based build tool
.
"
pkgdesc
=
"A java-based build tool"
url
=
"http://ant.apache.org/"
arch
=
"noarch"
options
=
"!check"
# Needs itself for testing.
license
=
"Apache-2.0"
depends
=
"openjdk8-jre-base"
makedepends
=
""
source
=
"http://archive.apache.org/dist/ant/binaries/
$pkgname
-
$pkgver
-bin.tar.bz2"
builddir
=
"
$srcdir
/
$pkgname
-
$pkgver
"
...
...
@@ -32,25 +31,25 @@ package() {
install
-dm755
"
$destdir
"
/bin
rm
bin/
*
.bat bin/
*
.cmd
install
-m755
bin/
*
"
$destdir
"
/bin
||
return
1
install
-m755
bin/
*
"
$destdir
"
/bin
install
-dm755
"
$pkgdir
"
/usr/bin
ln
-sf
$_anthome
/bin/ant
"
$pkgdir
"
/usr/bin/ant
||
return
1
ln
-sf
$_anthome
/bin/ant
"
$pkgdir
"
/usr/bin/ant
cp
-r
etc
"
$destdir
"
/
||
return
1
cp
-r
etc
"
$destdir
"
/
install
-dm755
"
$destdir
"
/lib
install
-m644
lib/
*
.jar
"
$destdir
"
/lib
||
return
1
install
-m644
lib/
*
.jar
"
$destdir
"
/lib
# symlink to junit so it's on the javac build path for ant
# matches behavior on ubuntu 9 and makes sense for compatibility
# http://bugs.archlinux.org/task/15229
ln
-sf
../../junit.jar
"
$destdir
"
/lib/junit.jar
||
return
1
ln
-sf
../../junit.jar
"
$destdir
"
/lib/junit.jar
# The license says the NOTICE file should be redistributed for
# derivative works, so lets supply it.
local
file
;
for
file
in
LICENSE NOTICE
;
do
install
-m644
-D
$file
"
$pkgdir
"
/usr/share/licenses/
$pkgname
/
$file
||
return
1
install
-m644
-D
$file
"
$pkgdir
"
/usr/share/licenses/
$pkgname
/
$file
done
install
-m644
-D
$pkgname
.sh
"
$pkgdir
"
/etc/profile.d/
$pkgname
.sh
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment