mirror of
https://github.com/outbackdingo/ports.git
synced 2026-02-07 18:00:25 +00:00
scratchpkg 20190426-1
This commit is contained in:
16
core/scratchpkg/repo
Normal file
16
core/scratchpkg/repo
Normal file
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# /etc/scratchpkg.repo : scratchpkg repo file
|
||||
#
|
||||
# format:
|
||||
# <repo directory> <repo url for sync>
|
||||
#
|
||||
|
||||
/usr/ports/core https://raw.githubusercontent.com/venomlinux/ports/master/core
|
||||
/usr/ports/xorg https://raw.githubusercontent.com/venomlinux/ports/master/xorg
|
||||
/usr/ports/extra https://raw.githubusercontent.com/venomlinux/ports/master/extra
|
||||
/usr/ports/xfce4 https://raw.githubusercontent.com/venomlinux/ports/master/xfce4
|
||||
/usr/ports/kf5 https://raw.githubusercontent.com/venomlinux/ports/master/kf5
|
||||
/usr/ports/mate https://raw.githubusercontent.com/venomlinux/ports/master/mate
|
||||
/usr/ports/lxde https://raw.githubusercontent.com/venomlinux/ports/master/lxde
|
||||
/usr/ports/git https://raw.githubusercontent.com/venomlinux/ports/master/git
|
||||
/usr/ports/multilib https://raw.githubusercontent.com/venomlinux/ports/master/multilib
|
||||
24
core/scratchpkg/spkgbuild
Normal file
24
core/scratchpkg/spkgbuild
Normal file
@@ -0,0 +1,24 @@
|
||||
# description : A simple package manager for Linux From Scratch
|
||||
# backup : etc/scratchpkg.conf etc/scratchpkg.repo etc/revdep.conf
|
||||
# depends : coreutils bash wget httpup libarchive
|
||||
|
||||
name=scratchpkg
|
||||
version=20190426
|
||||
release=1
|
||||
_commit=5cb072aaf1800f9e354cb97a015d432c66df6401
|
||||
source=($name-$_commit.tar.gz::https://github.com/venomlinux/scratchpkg/archive/$_commit.tar.gz
|
||||
repo)
|
||||
md5sum=(fe6ef86328a6fe0122fe4f7916afcfb5
|
||||
28358c8e8408daed2faaa5ae2869a92f)
|
||||
|
||||
build() {
|
||||
cd $name-$_commit
|
||||
DESTDIR=$PKG ./INSTALL.sh
|
||||
if [ -f /etc/lsb-release ]; then
|
||||
. /etc/lsb-release
|
||||
if [ "$DISTRIB_RELEASE" != "Rolling" ]; then
|
||||
sed -i "s:master:$DISTRIB_RELEASE:g" $SRC/repo
|
||||
fi
|
||||
fi
|
||||
install -m644 $SRC/repo $PKG/etc/scratchpkg.repo
|
||||
}
|
||||
Reference in New Issue
Block a user