* Added missing brace and removed unnecessary code in base/dcron build file
* Added an if/else condition for adding package description correctly inside installpkg script, part of base/pkgtools * Temporarily removed epiphany from net
This commit is contained in:
parent
9c25332e0c
commit
9132b697fe
4 changed files with 12 additions and 48 deletions
|
@ -1,6 +1,6 @@
|
||||||
app=dcron
|
app=dcron
|
||||||
version=4.5
|
version=4.5
|
||||||
build=1sml
|
build=2sml
|
||||||
homepage='http://www.jimpryor.net/linux/dcron.html'
|
homepage='http://www.jimpryor.net/linux/dcron.html'
|
||||||
download='http://www.jimpryor.net/linux/releases/dcron-4.5.tar.gz'
|
download='http://www.jimpryor.net/linux/releases/dcron-4.5.tar.gz'
|
||||||
desc="Dillons Cron daemon"
|
desc="Dillons Cron daemon"
|
||||||
|
@ -30,7 +30,7 @@ build() {
|
||||||
install -Dm 644 $srcdir/run-parts.8 $pkg/share/man/man8/run-parts.8
|
install -Dm 644 $srcdir/run-parts.8 $pkg/share/man/man8/run-parts.8
|
||||||
|
|
||||||
# Create some other stuff we need
|
# Create some other stuff we need
|
||||||
mkdir -p $pkg/etc/cron.{hourly,daily,weekly,monthly
|
mkdir -p $pkg/etc/cron.{hourly,daily,weekly,monthly}
|
||||||
install -dm 0751 $pkg/var/spool/cron
|
install -dm 0751 $pkg/var/spool/cron
|
||||||
install -dm 750 $pkg/var/spool/cron/crontabs
|
install -dm 750 $pkg/var/spool/cron/crontabs
|
||||||
install -dm 750 $pkg/var/spool/cron/cronstamps
|
install -dm 750 $pkg/var/spool/cron/cronstamps
|
||||||
|
@ -39,8 +39,6 @@ build() {
|
||||||
# dcron will whine about "unable to scan this directory", so we'll create it
|
# dcron will whine about "unable to scan this directory", so we'll create it
|
||||||
mkdir -p $pkg/etc/cron.d
|
mkdir -p $pkg/etc/cron.d
|
||||||
|
|
||||||
cp CHANGELOG README $pkgdocs/
|
|
||||||
|
|
||||||
mkfinalpkg
|
mkfinalpkg
|
||||||
}
|
}
|
||||||
sha512sums="
|
sha512sums="
|
||||||
|
|
|
@ -513,9 +513,17 @@ EOF
|
||||||
echo "PACKAGE MD5SUM: $(md5sum $package | cut -f 1 -d ' ')" >> $ADM_DIR/packages/$shortname
|
echo "PACKAGE MD5SUM: $(md5sum $package | cut -f 1 -d ' ')" >> $ADM_DIR/packages/$shortname
|
||||||
fi
|
fi
|
||||||
echo "PACKAGE DESCRIPTION:" >> $ADM_DIR/packages/$shortname
|
echo "PACKAGE DESCRIPTION:" >> $ADM_DIR/packages/$shortname
|
||||||
grep "^$packagebase:" $DESCRIPTION >> $ADM_DIR/packages/$shortname 2> /dev/null
|
if [ -n "$SMLINUX_DESC" ] ; then
|
||||||
|
echo $DESCRIPTION >> $ADM_DIR/packages/$shortname 2> /dev/null
|
||||||
|
else
|
||||||
|
grep "^$packagebase:" $DESCRIPTION >> $ADM_DIR/packages/$shortname 2> /dev/null
|
||||||
|
fi
|
||||||
if [ "$shortname" != "$packagebase" ]; then
|
if [ "$shortname" != "$packagebase" ]; then
|
||||||
grep "^$shortname:" $DESCRIPTION >> $ADM_DIR/packages/$shortname 2> /dev/null
|
if [ -n "$SMLINUX_DESC" ] ; then
|
||||||
|
echo $DESCRIPTION >> $ADM_DIR/packages/$shortname 2> /dev/null
|
||||||
|
else
|
||||||
|
grep "^$shortname:" $DESCRIPTION >> $ADM_DIR/packages/$shortname 2> /dev/null
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
echo "FILE LIST:" >> $ADM_DIR/packages/$shortname
|
echo "FILE LIST:" >> $ADM_DIR/packages/$shortname
|
||||||
( cd $ROOT/ ; $packagecompression -dc | $TAR -xlUpvf - | sort ) < $package >> $TMP/$shortname 2> /dev/null
|
( cd $ROOT/ ; $packagecompression -dc | $TAR -xlUpvf - | sort ) < $package >> $TMP/$shortname 2> /dev/null
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
app=epiphany
|
|
||||||
version=3.38.5
|
|
||||||
build=1sml
|
|
||||||
desc="Webkit-based browser for GNOME"
|
|
||||||
homepage="https://wiki.gnome.org/Apps/Web"
|
|
||||||
download="https://gitlab.gnome.org/GNOME/epiphany/-/archive/41.3/epiphany-41.3.tar.bz2"
|
|
||||||
requires="libhandy libdazzle webkitgtk"
|
|
||||||
|
|
||||||
build() {
|
|
||||||
mkandenterbuilddir
|
|
||||||
rm -rf $app-$version
|
|
||||||
|
|
||||||
tar xf $srcdir/$app-$version.tar.?z**
|
|
||||||
cd $app-$version
|
|
||||||
fixbuilddirpermissions
|
|
||||||
|
|
||||||
patch -p1 < $srcdir/fix-portal-header.patch
|
|
||||||
|
|
||||||
mkdir -p smbuild && cd smbuild
|
|
||||||
meson .. \
|
|
||||||
--prefix="/"
|
|
||||||
|
|
||||||
ninja
|
|
||||||
DESTDIR="$pkg" ninja install
|
|
||||||
|
|
||||||
mkfinalpkg
|
|
||||||
}
|
|
||||||
|
|
||||||
sha512sums="
|
|
||||||
9c0189fb4570d5060c5443090a783d0634f687b8c50df36dcc24881cda02709ee458ae553780c00ff313042324b5d4707382c77c7b06900821c8fa495cfbacd9 epiphany-3.38.5.tar.bz2
|
|
||||||
"
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- a/lib/ephy-flatpak-utils.c 2022-02-20 21:15:29.929976667 +0530
|
|
||||||
+++ b/lib/ephy-flatpak-utils.c 2022-02-20 21:15:53.009691292 +0530
|
|
||||||
@@ -28,7 +28,7 @@
|
|
||||||
#include <fcntl.h>
|
|
||||||
#include <gio/gio.h>
|
|
||||||
#include <gio/gunixfdlist.h>
|
|
||||||
-#include <libportal/portal-gtk3.h>
|
|
||||||
+#include <libportal-gtk3/portal-gtk3.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
#include <sys/types.h>
|
|
Loading…
Reference in a new issue