#!/bin/sh # variables CWD=$(pwd) BUILD=${BUILD:-1} TAG=cyco TMP=${TMP:-/tmp/$TAG} OUTPUT=${OUTPUT:-/tmp} PRGNAM=${PRGNAM:-kernel} PKG=${PKG:-$TMP/pkg-$PRGNAM} ARCH=${ARCH:-$(uname -m)} PREFIX=${PREFIX:-/usr} # nettoyage préalable rm -fr $PKG # mise en place mkdir -p $PKG/ cd $PKG wget --no-check-certificate -c https://www.stdin.xyz/downloads/people/longsleep/pine64-images/linux/linux-pine64-latest.tar.xz tar xvf linux-pine64-latest.tar.xz && rm linux-pine64-latest.tar.xz cp -a boot bootenv VERSION=$(ls lib/modules | tr - _) # correction cd $PKG chown -R root:root * # embaumement mkdir -p $PKG/install cat < $PKG/install/slack-desc # HOW TO EDIT THIS FILE: # The "handy ruler" below makes it easier to edit a package description. Line # up the first '|' above the ':' following the base package name, and the '|' # on the right side marks the last column you can put a character in. You must # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| $PRGNAM: $PRGNAM (Longsleep's Linux kernel for Pine64) $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: https://www.stdin.xyz/downloads/people/longsleep/pine64-images/linux/ $PRGNAM: EOF # empaquetage makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz