APKBUILD examples:ACF: Difference between revisions

From Alpine Linux
(Link directly to target page rather than going through redirect)
(use cat template)
 
Line 1: Line 1:
[[Alpine Configuration Framework Design|ACF]] packages only needs a package() section.
[[Alpine Configuration Framework Design|ACF]] packages only needs a package() section.


<pre>
{{cat|APKBUILD|<nowiki>...
package() {
package() {
cd "$srcdir/$pkgname-$pkgver"
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
make DESTDIR="$pkgdir" install
}
}
</pre>
...</nowiki>}}


[[Category:Development]] [[Category:ACF]]
[[Category:Development]] [[Category:ACF]]

Latest revision as of 22:32, 16 September 2023

ACF packages only needs a package() section.

Contents of APKBUILD

... package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install } ...