diff --git a/buildall.sh b/buildall.sh index 8db0c43d..88835598 100644 --- a/buildall.sh +++ b/buildall.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -e +set -ex move_package(){ mkdir -p output find -type f | grep -v "output"| grep "$(uname -m).ymp$" | sort -V | while read line ; do @@ -12,7 +12,7 @@ find -type f | grep ympbuild | sort -V | while read line ; do path=$(realpath $(dirname $line)) if ! find ./output/ -type f | grep "${name}_" | grep "$(uname -m).ymp$" 2>/dev/null ; then echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line" - ymp --sandbox --shared="$path" build "$path" --verbose --no-source --ignore-dependency --use=all --allow-oem + ymp --sandbox --shared="$path" build "$path" --verbose --no-source --ignore-dependency --use=all --allow-oem || exit 1 move_package echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line" fi diff --git a/system/base/dash/ympbuild b/system/base/dash/ympbuild index 33e6779e..a8754a55 100644 --- a/system/base/dash/ympbuild +++ b/system/base/dash/ympbuild @@ -2,14 +2,16 @@ name=dash version=0.5.11 release=1 -depends=(glibc) + url='https://salsa.debian.org/debian/dash' description="The Debian Almquist Shell (dash) is a POSIX-compliant shell derived from ash. " email='parduscix@yandex.ru' maintainer='sulincix' license=('GPLv2') +depends=() arch=(x86_64) ver=$version+git20210903+057cd650a4ed-8 +replaces=("/bin/sh") source=(https://salsa.debian.org/debian/dash/-/archive/debian/$ver/dash-debian-$ver.zip) md5sums=(fa7d340bd8968e10f8097667cfdd1c18) group=(system.base) diff --git a/system/extra/nghttp2/ympbuild b/system/extra/nghttp2/ympbuild new file mode 100644 index 00000000..dc57d7d5 --- /dev/null +++ b/system/extra/nghttp2/ympbuild @@ -0,0 +1,31 @@ +#!/usr/bin/env bash +name='nghttp2' +release='1' +version='1.51.0' +url='https://github.com/nghttp2/nghttp2' +description='Package description missing' +email=' aliriza.keskin@pardus.org.tr' +maintainer=' aliriza' +license=('MIT') +source=('https://github.com/nghttp2/nghttp2/releases/download/v1.51.0/nghttp2-1.51.0.tar.gz') +depends=( ) +makedepends=( ) +md5sums=('d8c534bbdd84297afa4f6576896a3d76') +arch=('x86_64') +group=(system.extra) + +cd $name-$version + +setup(){ + ./configure --prefix=/usr \ + --libdir=/usr/lib64 +} + +build(){ + make -j`nproc` +} + +package(){ + make install -j`nproc` +} +