lots of moving

This commit is contained in:
Ella-0 2021-08-03 22:17:36 +00:00
parent e46f5d532a
commit 31d9629111
46 changed files with 0 additions and 0 deletions

47
base/iglunix/build.sh Normal file
View file

@ -0,0 +1,47 @@
pkgver=main
pkgname=iglunix
pkgrel=1
deps="busybox:toybox"
bad=""
ext="dev:doc"
fetch() {
mkdir $pkgname-$pkgver
cp ../profile.sh .
cp ../motd .
cd $pkgname-$pkgver
cp ../../../../scripts/iglu*.sh .
cp ../../../../man/iglu.8 .
cp ../../../../LICENSE .
}
build() {
cd $pkgname-$pkgver
echo "Nothing to do"
}
package() {
cd $pkgname-$pkgver
install -d $pkgdir/etc/
install -Dm644 ../profile.sh $pkgdir/etc/profile
install -Dm644 ../motd $pkgdir/etc/
install -d $pkgdir/usr/sbin
install -Dm755 iglu.sh $pkgdir/usr/sbin/iglu
}
package_dev() {
cd $pkgname-$pkgver
install -d $pkgdir/usr/bin
install -Dm755 iglupkg.sh $pkgdir/usr/bin/iglupkg
}
package_doc() {
cd $pkgname-$pkgver
install -d $pkgdir/usr/share/man/man8
install -Dm644 iglu.8 $pkgdir/usr/share/man/man8
}
license() {
cd $pkgname-$pkgver
cat LICENSE
}

14
base/iglunix/motd Normal file
View file

@ -0,0 +1,14 @@
|
| |
|
| ________
| /\ | \
/ \ | \ |
/ \ \ |
/ \________\
\ / /
\ / /
\ / /
\/________/
Iglunix: Drop the Packages

20
base/iglunix/profile.sh Normal file
View file

@ -0,0 +1,20 @@
# Setup Path
export PATH=/usr/sbin:/usr/bin:/sbin:/bin
export POSIX_ME_HARDER=1
# Setup Shell Prompt
if [ "$(whoami)" == "root" ]; then
export PS1=$(hostname)"# "
else
export PS1=$(hostname)"$ "
fi
# Replace TERM with xterm because netbsd-curses doesn't include alacritty
if [ "$TERM" == "alacritty" ]; then
export TERM=xterm
fi
# load profile
for file in $(ls /etc/profile.d); do
. /etc/profile.d/$file
done

30
base/libffi/build.sh Normal file
View file

@ -0,0 +1,30 @@
pkgver=3.3
pkgname=libffi
bad="gmake"
ext="dev"
fetch() {
curl -L "https://github.com/libffi/libffi/releases/download/v3.3/libffi-3.3.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
gmake
}
package() {
cd $pkgname-$pkgver
gmake install DESTDIR=$pkgdir
}
package_dev() {
cd $pkgname-$pkgver
gmake install DESTDIR=$pkgdir
}
license() {
cd $pkgname-$pkgver
cat LICENSE
}

34
base/pkgconf/build.sh Normal file
View file

@ -0,0 +1,34 @@
pkgver=1.7.4
pkgname=pkgconf
bad=""
ext="doc"
fetch() {
curl https://distfiles.dereferenced.org/pkgconf/pkgconf-$pkgver.tar.xz -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr
make
}
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
ln -sr $pkgdir/usr/bin/pkgconf $pkgdir/usr/bin/pkg-config
rm -r $pkgdir/usr/share
}
package_doc() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
rm -r $pkgdir/usr/bin
}
license() {
cd $pkgname-$pkgver
cat LICENSE
}

30
base/python-mako/build.sh Normal file
View file

@ -0,0 +1,30 @@
pkgver=1.1.4
pkgname=python-mako
deps=python
bad=""
ext="doc"
fetch() {
curl -L "https://pypi.io/packages/source/M/Mako/Mako-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
mv Mako-$pkgver $pkgname-$pkgver
}
build() {
cd $pkgname-$pkgver
python setup.py build
}
package() {
cd $pkgname-$pkgver
python setup.py install --prefix=/usr --root=$pkgdir
}
package_doc() {
echo $pkgdir
}
license() {
cd $pkgname-$pkgver
cat LICENSE
}