You are not logged in.

#1 2019-04-20 04:07:07

perrymok
Member
Registered: 2018-11-03
Posts: 4

How to make package from a .tar.gz file? [SOLVED]

I am working with a java application and would like to install java downloaded from https://www.java.com/en/download/manual.jsp with is a .tar.gz file.

I tried pacman -U the file and it gives me an error as it is not an AUR file, what can I do to make a package which is installable?

Files inside the .tar.gz inside: "bin  COPYRIGHT  lib  LICENSE  man  plugin  README  release  THIRDPARTYLICENSEREADME-JAVAFX.txt  THIRDPARTYLICENSEREADME.txt  Welcome.html"

Thanks for helping me

Last edited by perrymok (2019-04-20 10:02:04)

Offline

#2 2019-04-20 04:08:28

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: How to make package from a .tar.gz file? [SOLVED]

You write a PKGBUILD. But first, you search the AUR.


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-04-20 04:09:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,532
Website

Re: How to make package from a .tar.gz file? [SOLVED]

Make some effort to search:
https://wiki.archlinux.org/index.php/PKGBUILD

Wait, that's just oracle's JRE.  Yeah, realy make some ... any effort to search:
https://wiki.archlinux.org/index.php/Java

Last edited by Trilby (2019-04-20 04:14:21)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2019-04-20 07:37:18

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: How to make package from a .tar.gz file? [SOLVED]

Why not use the official reference implementation of java which is openjdk?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB