aboutsummaryrefslogtreecommitdiff
path: root/repos/archive/ports/abuild
blob: 4d751b730fd19b3249aca4a3ed5cf204d831c14f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name=ports
version=1.6
release=1
source="https://crux.nu/files/tools/${name}/${name}-${version}.tar.gz
	git"

postbuild() {
	install -m755 $SRC/git $PKG/etc/ports/drivers/git
	sed -i 's,/usr/ports,/var/lib/repos,g' $PKG/usr/bin/ports
	sed -i 's,collection,repo,g' $PKG/etc/ports/drivers/git
	mkdir -p $PKG/var/lib/repos
	
	for repo in core extra; do
		echo "#
# /etc/ports/$repo.git
#

URL=https://github.com/emmett1/alicelinux.git
NAME=$repo
BRANCH=$repo

# End of file" > $PKG/etc/ports/$repo.git
	done
}