Difference between revisions of "APKBUILD meta:Meta"

From Alpine Linux
Jump to: navigation, search
m (Created page with "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. <pre> # Maintainer: Natanael Copa <ncopa@a...")
 
m
 
(3 intermediate revisions by 3 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 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 10: Line 12:
 
arch="noarch"
 
arch="noarch"
 
license="GPL"
 
license="GPL"
makedepends=
+
makedepends=""
 
depends="
 
depends="
 
abiword
 
abiword
Line 31: Line 33:
 
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
 
 
}
 
}
 
md5sums=
 
 
</pre>
 
</pre>
 +
[[Category:Development]]
 +
[[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"
}