37 lines
1.3 KiB
Plaintext

# Description: CRUX ports system tools
# URL: http://crux.nu
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
# Depends on:
name=ports
version=1.6
release=3
source=(http://crux.nu/files/tools/ports/$name-$version.tar.gz \
core.pub opt.pub xorg.pub contrib.pub \
core.rsync opt.rsync xorg.rsync contrib.rsync.inactive \
core-arm64.httpup core-arm64.pub \
opt-arm64.httpup opt-arm64.pub \
xorg-arm64.httpup xorg-arm64.pub)
build () {
cd $name-$version
make
make DESTDIR=$PKG MANDIR=/usr/share/man install
install -m 0644 $SRC/core.rsync $PKG/etc/ports
install -m 0644 $SRC/opt.rsync $PKG/etc/ports
install -m 0644 $SRC/xorg.rsync $PKG/etc/ports
install -m 0644 $SRC/contrib.rsync.inactive $PKG/etc/ports
install -m 0644 $SRC/core.pub $PKG/etc/ports
install -m 0644 $SRC/opt.pub $PKG/etc/ports
install -m 0644 $SRC/xorg.pub $PKG/etc/ports
install -m 0644 $SRC/contrib.pub $PKG/etc/ports
install -m 0644 $SRC/core-arm64.httpup $PKG/etc/ports
install -m 0644 $SRC/core-arm64.pub $PKG/etc/ports
install -m 0644 $SRC/opt-arm64.httpup $PKG/etc/ports
install -m 0644 $SRC/opt-arm64.pub $PKG/etc/ports
install -m 0644 $SRC/xorg-arm64.httpup $PKG/etc/ports
install -m 0644 $SRC/xorg-arm64.pub $PKG/etc/ports
}