Talk:Creating an Alpine package: Difference between revisions

From Alpine Linux
m (→‎Install section: Unsigned comment attribution.)
m ( Bot: Reporting unavailable external link)
 
Line 41: Line 41:
</pre>
</pre>
--[[User:Hauke Löffler|Hauke Löffler]] ([[User talk:Hauke Löffler|talk]]) 22:21, 1 February 2017 (UTC)
--[[User:Hauke Löffler|Hauke Löffler]] ([[User talk:Hauke Löffler|talk]]) 22:21, 1 February 2017 (UTC)
== Dead link ==
During several automated bot runs the following external link was found to be unavailable. Please check if the link is in fact down and fix or remove it in that case!
* https://repo.or.cz/w/gitstats.git/snapshot/ad7efbb9399e60cee6cb217c6b47e604174a8093.tar.gz ([http://web.archive.org/web/20220604204003/https://repo.or.cz/w/gitstats.git/snapshot/ad7efbb9399e60cee6cb217c6b47e604174a8093.tar.gz archive])
** In [[Creating an Alpine package]] on 2023-08-25 08:19:44, Forbidden
** In [[Creating an Alpine package]] on 2023-08-25 14:30:20, Forbidden
** In [[Creating an Alpine package]] on 2023-08-25 22:47:02, Forbidden
** In [[Creating an Alpine package]] on 2023-08-26 03:00:09, Forbidden
** In [[Creating an Alpine package]] on 2023-08-28 03:03:05, Forbidden
** In [[Creating an Alpine package]] on 2023-08-28 09:53:58, Forbidden
** In [[Creating an Alpine package]] on 2023-08-30 19:52:53, Forbidden
** In [[Creating an Alpine package]] on 2023-09-03 23:01:03, Forbidden
** In [[Creating an Alpine package]] on 2023-09-04 07:49:45, Forbidden
The web page has been saved by the Internet Archive. Please consider linking to an appropriate archived version: [http://web.archive.org/web/20220604204003/https://repo.or.cz/w/gitstats.git/snapshot/ad7efbb9399e60cee6cb217c6b47e604174a8093.tar.gz].
--[[User:Gopherbot|Gopherbot]] ([[User talk:Gopherbot|talk]]) 08:24, 4 September 2023 (UTC)

Latest revision as of 08:24, 4 September 2023

Under "commit your work", there's a thing to

cd $aportsdir
git pull

This should pull all the changes made by others into you local git repo. When you think you are ready you can add your files to git:

cd $apkbuilddir
git add APKBUILD (include any other files needed for the build; $pkgname.install...)
git commit


What is the difference between $aportsdir and $apkbuilddir?

Is apkbuilddir $aportsdir/$pkgname ? Or can $apkbuilddir be ~/work/foo/packagename


--Nangel 20:05, 12 August 2010 (UTC)

Install section

The wiki mention:

APKBUILD should have the install variable defined and the scripts should also be added to the source variable

but when doing this abuild warn:

>>> WARNING: <aport>: You should not have $install in source

so I guess this should be remove, correct me if I'm wrong

— Preceding unsigned comment added by Steeve (talkcontribs) 12:53, 6 April 2015

Test your package

what i was missing after building, was how to test

#after abuild -r
apk add /home/$USER/packages/main/$ARCH/$PACKAGE_NAME.apk

--Hauke Löffler (talk) 22:21, 1 February 2017 (UTC)


Dead link

During several automated bot runs the following external link was found to be unavailable. Please check if the link is in fact down and fix or remove it in that case!

The web page has been saved by the Internet Archive. Please consider linking to an appropriate archived version: [1]. --Gopherbot (talk) 08:24, 4 September 2023 (UTC)