APKBUILD meta:Meta: Difference between revisions

From Alpine Linux
mNo edit summary
(remove link to non existing package)
 
(8 intermediate revisions by 7 users not shown)
Line 1: Line 1:
A so-called meta package contains more or less only a list of packages. With one packages a bunch of other packages can be installed.  
A so-called meta package contains more or less only a list of packages. With one package a bunch of other packages can be installed.  


<pre>
== Example ==
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
{{cat|alpine-desktop/APKBUILD|<nowiki># Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-desktop
pkgname=alpine-desktop
pkgver=2.4
pkgver=2.4
Line 10: Line 10:
arch="noarch"
arch="noarch"
license="GPL"
license="GPL"
makedepends=
makedepends=""
depends="
depends="
abiword
abiword
Line 31: Line 31:
xscreensaver
xscreensaver
"
"
install=alpine-desktop.post-install
install="alpine-desktop.post-install"
subpackages=
subpackages=""
source=
source=""
 
_builddir="$srcdir"/$pkgname-$pkgver
 
prepare() {
return 0
}
 
build() {
return 0
}


package() {
package() {
mkdir -p "$pkgdir"
mkdir -p "$pkgdir"
return 0
}
}
</nowiki>}}


md5sums=
</pre>
[[Category:Development]]
[[Category:Development]]

Latest revision as of 10:45, 10 November 2023

A so-called meta package contains more or less only a list of packages. With one package a bunch of other packages can be installed.

Example

Contents of alpine-desktop/APKBUILD

# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=alpine-desktop pkgver=2.4 pkgrel=0 pkgdesc="Meta package for Alpine Desktop" url="http://alpinelinux.org" arch="noarch" license="GPL" makedepends="" depends=" abiword audacious claws-mail dhcpcd dhcpcd-ui evince firefox gnumeric lxdm ristretto sudo udev xf86-input-keyboard xf86-input-mouse xf86-video-vesa xfce4 xorg-server xscreensaver " install="alpine-desktop.post-install" subpackages="" source="" package() { mkdir -p "$pkgdir" }