APKBUILD meta:Meta: Difference between revisions

From Alpine Linux
m (removed from desktop category)
(remove link to non existing package)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


== Example ==
== Example ==
[https://pkgs.alpinelinux.org/packages?name=alpine-desktop&branch=edge Alpine-desktop]
{{cat|alpine-desktop/APKBUILD|<nowiki># Maintainer: Natanael Copa <ncopa@alpinelinux.org>
<pre>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-desktop
pkgname=alpine-desktop
pkgver=2.4
pkgver=2.4
Line 40: Line 38:
mkdir -p "$pkgdir"
mkdir -p "$pkgdir"
}
}
</pre>
</nowiki>}}


[[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" }