40 lines
755 B
Plaintext
40 lines
755 B
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
pkgname=nnd
|
|
pkgver=0.1
|
|
pkgrel=0
|
|
pkgdesc="Identification package for nnd"
|
|
url="none"
|
|
arch="noarch"
|
|
license="MIT"
|
|
builddir="$srcdir/"
|
|
|
|
build() {
|
|
local NAME="nonamedistribution"
|
|
echo "$pkgver" > release
|
|
|
|
cat >issue <<-EOF
|
|
Welcome to $NAME $pkgver
|
|
Kernel \\r on \\m (\\l)
|
|
|
|
EOF
|
|
|
|
cat >os-release <<-EOF
|
|
NAME="$NAME"
|
|
ID=nnd
|
|
VERSION_ID=$pkgver
|
|
PRETTY_NAME="$NAME $pkgver"
|
|
EOF
|
|
|
|
cat >motd <<-EOF
|
|
Welcome to $NAME $pkgver, a extension/distribution based on Alpine!
|
|
|
|
EOF
|
|
}
|
|
|
|
package() {
|
|
install -Dm444 "$builddir"/os-release "$pkgdir"/etc/os-release
|
|
install -Dm444 "$builddir"/issue "$pkgdir"/etc/issue
|
|
install -Dm444 "$builddir"/motd "$pkgdir"/etc/motd
|
|
}
|