Difference between revisions of "APKBUILD meta:Meta"

From Alpine Linux
Jump to: navigation, search
m
 
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 packages a bunch of other packages can be installed.  
  
 +
== Example ==
 +
[https://pkgs.alpinelinux.org/packages?name=alpine-desktop&branch=edge Alpine-desktop]
 
<pre>
 
<pre>
 
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
Line 38: Line 40:
 
mkdir -p "$pkgdir"
 
mkdir -p "$pkgdir"
 
}
 
}
 
 
</pre>
 
</pre>
 
[[Category:Development]]
 
[[Category:Development]]
 
[[Category:Desktop]]
 
[[Category:Desktop]]

Latest revision as of 06:44, 7 September 2019

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.

Example

Alpine-desktop

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