APKBUILD meta:Meta: Difference between revisions

From Alpine Linux
m (removed from desktop category)
(use cat & pkg template)
Line 2: Line 2:


== Example ==
== Example ==
[https://pkgs.alpinelinux.org/packages?name=alpine-desktop&branch=edge Alpine-desktop]
{{pkg|alpine-desktop}}
<pre>
 
# 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 40: Line 40:
mkdir -p "$pkgdir"
mkdir -p "$pkgdir"
}
}
</pre>
</nowiki>}}


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

Revision as of 22:24, 16 September 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

alpine-desktop

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