vanilla: cleanup templates directory

Thu, 29 Aug 2019 21:00:00 +0200

author
David Demelier <markand@malikania.fr>
date
Thu, 29 Aug 2019 21:00:00 +0200
changeset 1027
34c9fa83dc08
parent 1026
3dfef64b81c1
child 1028
e46348eb3fbd

vanilla: cleanup templates directory

Templates/README.md file | annotate | diff | comparison | revisions
Templates/autotools.sh file | annotate | diff | comparison | revisions
Templates/build/autotools.sh file | annotate | diff | comparison | revisions
Templates/build/cmake.sh file | annotate | diff | comparison | revisions
Templates/build/kde-frameworks.sh file | annotate | diff | comparison | revisions
Templates/build/libretro-git.sh file | annotate | diff | comparison | revisions
Templates/build/mate.sh file | annotate | diff | comparison | revisions
Templates/build/meson.sh file | annotate | diff | comparison | revisions
Templates/build/minimal.sh file | annotate | diff | comparison | revisions
Templates/build/perl.sh file | annotate | diff | comparison | revisions
Templates/build/python-hybrid.sh file | annotate | diff | comparison | revisions
Templates/build/python.sh file | annotate | diff | comparison | revisions
Templates/build/xfce.sh file | annotate | diff | comparison | revisions
Templates/busybox-post.sh file | annotate | diff | comparison | revisions
Templates/cmake.sh file | annotate | diff | comparison | revisions
Templates/gdk-pixbuf-post.sh file | annotate | diff | comparison | revisions
Templates/init/rc file | annotate | diff | comparison | revisions
Templates/init/rc-ssd file | annotate | diff | comparison | revisions
Templates/kde-frameworks.sh file | annotate | diff | comparison | revisions
Templates/libretro-git.sh file | annotate | diff | comparison | revisions
Templates/mate.sh file | annotate | diff | comparison | revisions
Templates/meson.sh file | annotate | diff | comparison | revisions
Templates/minimal.sh file | annotate | diff | comparison | revisions
Templates/perl.sh file | annotate | diff | comparison | revisions
Templates/post/busybox-symlinks.sh file | annotate | diff | comparison | revisions
Templates/post/gdk-pixbuf-post.sh file | annotate | diff | comparison | revisions
Templates/post/shell.sh file | annotate | diff | comparison | revisions
Templates/python-hybrid.sh file | annotate | diff | comparison | revisions
Templates/python.sh file | annotate | diff | comparison | revisions
Templates/rc file | annotate | diff | comparison | revisions
Templates/shell-post.sh file | annotate | diff | comparison | revisions
Templates/xfce.sh file | annotate | diff | comparison | revisions
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Templates/README.md	Thu Aug 29 21:00:00 2019 +0200
@@ -0,0 +1,13 @@
+Vanilla templates
+=================
+
+This directory contain several templates for the Vanilla source tree.
+
+- init: some init scripts
+  - rc: standard init script
+  - rc-ssd: init script that require start-stop-daemon
+- build: predefined build scripts (autotools, cmake, etc)
+- post: post install scripts
+  - shell.sh: required to update /etc/shells
+  - busybox-symlinks.sh: recreate busybox symlinks on deinstallation
+  - gdk-pixbuf-post.sh: update gdk-pixbuf loaders
--- a/Templates/autotools.sh	Thu Aug 29 20:34:00 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-#!/bin/busybox sh
-#
-# Copyright (c) 2019 FirstName LastName <mailaddress>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-
-PKGNAME=name
-PKGVERSION=1.0.0
-PKGREVISION=1
-PKGLICENSE="one of README.licenses.md or CUSTOM"
-PKGSUMMARY="short summary"
-PKGDOWNLOAD="http://example.org/$PKGNAME-$PKGVERSION.tar.xz"
-# PKGDEPENDS="category/foo category/bar"
-# PKGOPTIONS="FOO BAR BAZ"
-
-: ${CHOST:=$(uname -m)-linux-musl}
-: ${CBUILD:=$(uname -m)-linux-musl}
-: ${CC:=clang}
-: ${CFLAGS:=-O2}
-: ${CXX:=clang++}
-: ${CXXFLAGS:=-O2}
-: ${LDFLAGS:=}
-: ${LIBS:=}
-
-build()
-{
-	rm -rf $PKGNAME-$PKGVERSION
-	tar xvf $PKGNAME-$PKGVERSION.tar.gz
-	cd $PKGNAME-$PKGVERSION
-
-	CC="$CC" \
-	CFLAGS="$CFLAGS" \
-	CXX="$CXX" \
-	CXXFLAGS="$CXXFLAGS" \
-	LDFLAGS="$LDFLAGS" \
-	LIBS="$LIBS" \
-	./configure \
-		--build=$CBUILD \
-		--host=$CHOST \
-		--prefix=
-	make
-	make install DESTDIR=$DESTDIR
-	# find $DESTDIR -type f -name "*.la" -delete
-
-	cd ..
-	rm -rf $PKGNAME-$PKGVERSION
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Templates/build/autotools.sh	Thu Aug 29 21:00:00 2019 +0200
@@ -0,0 +1,58 @@
+#!/bin/busybox sh
+#
+# Copyright (c) 2019 FirstName LastName <mailaddress>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+PKGNAME=name
+PKGVERSION=1.0.0
+PKGREVISION=1
+PKGLICENSE="one of README.licenses.md or CUSTOM"
+PKGSUMMARY="short summary"
+PKGDOWNLOAD="http://example.org/$PKGNAME-$PKGVERSION.tar.xz"
+# PKGDEPENDS="category/foo category/bar"
+# PKGOPTIONS="FOO BAR BAZ"
+
+: ${CHOST:=$(uname -m)-linux-musl}
+: ${CBUILD:=$(uname -m)-linux-musl}
+: ${CC:=clang}
+: ${CFLAGS:=-O2}
+: ${CXX:=clang++}
+: ${CXXFLAGS:=-O2}
+: ${LDFLAGS:=}
+: ${LIBS:=}
+
+build()
+{
+	rm -rf $PKGNAME-$PKGVERSION
+	tar xvf $PKGNAME-$PKGVERSION.tar.gz
+	cd $PKGNAME-$PKGVERSION
+
+	CC="$CC" \
+	CFLAGS="$CFLAGS" \
+	CXX="$CXX" \
+	CXXFLAGS="$CXXFLAGS" \
+	LDFLAGS="$LDFLAGS" \
+	LIBS="$LIBS" \
+	./configure \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--prefix=
+	make
+	make install DESTDIR=$DESTDIR
+	# find $DESTDIR -type f -name "*.la" -delete
+
+	cd ..
+	rm -rf $PKGNAME-$PKGVERSION
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Templates/build/cmake.sh	Thu Aug 29 21:00:00 2019 +0200
@@ -0,0 +1,53 @@
+#!/bin/busybox sh
+#
+# Copyright (c) 2019 FirstName LastName <mailaddress>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+PKGNAME=name
+PKGVERSION=1.0.0
+PKGREVISION=1
+PKGLICENSE="one of README.licenses.md or CUSTOM"
+PKGSUMMARY="short summary"
+PKGDOWNLOAD="http://example.org/$PKGNAME-$PKGVERSION.tar.xz"
+PKGDEPENDS="cmake:build"
+# PKGOPTIONS="FOO BAR BAZ"
+
+: ${CC:=clang}
+: ${CFLAGS:=-O2}
+: ${CXX:=clang++}
+: ${CXXFLAGS:=-O2}
+
+build()
+{
+	rm -rf $PKGNAME-$PKGVERSION
+	tar xvf $PKGNAME-$PKGVERSION.tar.gz
+	cd $PKGNAME-$PKGVERSION
+
+	mkdir build && cd build
+	cmake .. \
+		-DBUILD_SHARED_LIBS=On \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_CXX_COMPILER="$CXX" \
+		-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+		-DCMAKE_C_COMPILER="$CC" \
+		-DCMAKE_C_FLAGS="$CFLAGS" \
+		-DCMAKE_INSTALL_PREFIX=
+	make
+	make install DESTDIR=$DESTDIR
+	cd ..
+
+	cd ..
+	rm -rf $PKGNAME-$PKGVERSION
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Templates/build/kde-frameworks.sh	Thu Aug 29 21:00:00 2019 +0200
@@ -0,0 +1,57 @@
+#!/bin/busybox sh
+#
+# Copyright (c) 2019 FirstName LastName <mailaddress>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+PKGNAME=?
+PKGVERSION=5.61.0
+PKGREVISION=1
+PKGLICENSE="one of README.licenses.md or CUSTOM"
+PKGSUMMARY="KDE ?"
+PKGDOWNLOAD="https://download.kde.org/stable/frameworks/${PKGVERSION%.*}/$PKGNAME-$PKGVERSION.tar.xz"
+PKGDEPENDS="
+cmake:build
+extra-cmake-modules:build
+qtbase"
+
+: ${CC:=clang}
+: ${CFLAGS:=-O2}
+: ${CXX:=clang++}
+: ${CXXFLAGS:=-O2}
+
+build()
+{
+	rm -rf $PKGNAME-$PKGVERSION
+	tar xvf $PKGNAME-$PKGVERSION.tar.xz
+	cd $PKGNAME-$PKGVERSION
+
+	mkdir build && cd build
+	cmake .. \
+		-DBUILD_SHARED_LIBS=On \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_CXX_COMPILER="$CXX" \
+		-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+		-DCMAKE_C_COMPILER="$CC" \
+		-DCMAKE_C_FLAGS="$CFLAGS" \
+		-DCMAKE_INSTALL_PREFIX= \
+		-DBUILD_TESTING=Off \
+		-DECM_MKSPECS_INSTALL_DIR=/lib/qt/mkspecs/modules
+	make
+	make install DESTDIR=$DESTDIR
+	cd ..
+
+	cd ..
+	rm -rf $PKGNAME-$PKGVERSION
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Templates/build/libretro-git.sh	Thu Aug 29 21:00:00 2019 +0200
@@ -0,0 +1,51 @@
+#!/bin/busybox sh
+#
+# Copyright (c) 2019 FirstName LastName <mailaddress>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+_COMMIT=??
+_SCOMMIT=$(echo $_COMMIT | awk '{ print substr($1, 0, 7) }')
+
+PKGNAME=libretro-CORE
+PKGVERSION=$_SCOMMIT
+PKGREVISION=1
+PKGLICENSE="one of README.licenses.md or CUSTOM"
+PKGSUMMARY="libretro implementation for CORE"
+PKGDOWNLOAD="https://github.com/libretro/libretro-CORE/archive/$_COMMIT.tar.gz
+             https://raw.github.com/libretro/libretro-super/master/dist/info/CORE_libretro.info"
+
+: ${CC:=clang}
+: ${CFLAGS:=-O2}
+: ${CXX:=clang++}
+: ${CXXFLAGS:=-O2}
+
+build()
+{
+	rm -rf $PKGNAME-$_COMMIT
+	tar xvf $_COMMIT.tar.gz
+	cd $PKGNAME-$_COMMIT
+
+	make -f Makefile.libretro \
+		GIT_VERSION="$_SCOMMIT" \
+		CC="$CC" \
+		CXX="$CXX" \
+		CFLAGS="$CFLAGS" \
+		CXXFLAGS="$CXXFLAGS"
+	install -Dm0644 ../CORE_libretro.info $DESTDIR/share/libretro/info/CORE_libretro.info
+	install -Dm0644 CORE_libretro.so $DESTDIR/lib/libretro/CORE_libretro.so
+
+	cd ..
+	rm -rf $PKGNAME-$_COMMIT
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Templates/build/mate.sh	Thu Aug 29 21:00:00 2019 +0200
@@ -0,0 +1,53 @@
+#!/bin/busybox sh
+#
+# Copyright (c) 2019 FirstName LastName <mailaddress>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+PKGNAME=
+PKGVERSION=1.22.0
+PKGREVISION=1
+PKGLICENSE=""
+PKGSUMMARY="MATE "
+PKGDOWNLOAD="https://pub.mate-desktop.org/releases/1.22/$PKGNAME-$PKGVERSION.tar.xz"
+# PKGDEPENDS="category/foo category/bar"
+# PKGOPTIONS="FOO BAR BAZ"
+
+: ${CHOST:=$(uname -m)-linux-musl}
+: ${CBUILD:=$(uname -m)-linux-musl}
+: ${CC:=clang}
+: ${CFLAGS:=-O2}
+: ${LDFLAGS:=}
+: ${LIBS:=}
+
+build()
+{
+	rm -rf $PKGNAME-$PKGVERSION
+	tar xvf $PKGNAME-$PKGVERSION.tar.xz
+	cd $PKGNAME-$PKGVERSION
+
+	CC="$CC" \
+	CFLAGS="$CFLAGS" \
+	LDFLAGS="$LDFLAGS" \
+	LIBS="$LIBS" \
+	./configure \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--prefix=
+	make
+	make install DESTDIR=$DESTDIR
+
+	cd ..
+	rm -rf $PKGNAME-$PKGVERSION
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Templates/build/meson.sh	Thu Aug 29 21:00:00 2019 +0200
@@ -0,0 +1,54 @@
+#!/bin/busybox sh
+#
+# Copyright (c) 2019 FirstName LastName <mailaddress>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+PKGNAME=name
+PKGVERSION=1.0.0
+PKGREVISION=1
+PKGLICENSE="one of README.licenses.md or CUSTOM"
+PKGSUMMARY="short summary"
+PKGDOWNLOAD="http://example.org/$PKGNAME-$PKGVERSION.tar.xz"
+PKGDEPENDS="meson:build"
+# PKGOPTIONS="FOO BAR BAZ"
+
+: ${CC:=clang}
+: ${CFLAGS:=-O2}
+: ${CXX:=clang++}
+: ${CXXFLAGS:=-O2}
+: ${LDFLAGS:=}
+
+build()
+{
+	rm -rf $PKGNAME-$PKGVERSION
+	tar xvf $PKGNAME-$PKGVERSION.tar.gz
+	cd $PKGNAME-$PKGVERSION
+
+	CC="$CC" \
+	CFLAGS="$CFLAGS" \
+	CXX="$CXX" \
+	CXXFLAGS="$CXXFLAGS" \
+	LDFLAGS="$LDFLAGS" \
+	meson . build \
+		--prefix / \
+		--buildtype release \
+		--default-library shared
+	ninja -C build
+	DESTDIR=$DESTDIR ninja -C build install
+	# sed -i -e "s|prefix=/|prefix=|" $DESTDIR/lib/pkgconfig/*.pc
+
+	cd ..
+	rm -rf $PKGNAME-$PKGVERSION
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Templates/build/minimal.sh	Thu Aug 29 21:00:00 2019 +0200
@@ -0,0 +1,35 @@
+#!/bin/busybox sh
+#
+# Copyright (c) 2019 FirstName LastName <mailaddress>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+PKGNAME=name
+PKGVERSION=1.0.0
+PKGREVISION=1
+PKGLICENSE="one of README.licenses.md or CUSTOM"
+PKGSUMMARY="short summary"
+PKGDOWNLOAD="http://example.org/$PKGNAME-$PKGVERSION.tar.xz"
+# PKGDEPENDS="category/foo category/bar"
+# PKGOPTIONS="FOO BAR BAZ"
+
+build()
+{
+	rm -rf $PKGNAME-$PKGVERSION
+	tar xvf $PKGNAME-$PKGVERSION.tar.gz
+	cd $PKGNAME-$PKGVERSION
+
+	cd ..
+	rm -rf $PKGNAME-$PKGVERSION
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Templates/build/perl.sh	Thu Aug 29 21:00:00 2019 +0200
@@ -0,0 +1,38 @@
+#!/bin/busybox sh
+#
+# Copyright (c) 2019 FirstName LastName <mailaddress>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+PKGNAME=name
+PKGVERSION=1.0.0
+PKGREVISION=1
+PKGLICENSE="one of README.licenses.md or CUSTOM"
+PKGSUMMARY="short summary"
+PKGDOWNLOAD="http://example.org/$PKGNAME-$PKGVERSION.tar.xz"
+PKGDEPENDS="perl"
+# PKGOPTIONS="FOO BAR BAZ"
+
+build()
+{
+	rm -rf $PKGNAME-$PKGVERSION
+	tar xvf $PKGNAME-$PKGVERSION.tar.gz
+	cd $PKGNAME-$PKGVERSION
+
+	perl Makefile.PL INSTALLDIRS=vendor
+	make DESTDIR=$DESTDIR install
+
+	cd ..
+	rm -rf $PKGNAME-$PKGVERSION
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Templates/build/python-hybrid.sh	Thu Aug 29 21:00:00 2019 +0200
@@ -0,0 +1,40 @@
+#!/bin/busybox sh
+#
+# Copyright (c) 2019 FirstName LastName <mailaddress>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+PKGNAME=name
+PKGVERSION=1.0.0
+PKGREVISION=1
+PKGLICENSE="one of README.licenses.md or CUSTOM"
+PKGSUMMARY="short summary"
+PKGDOWNLOAD="http://example.org/$PKGNAME-$PKGVERSION.tar.xz"
+PKGDEPENDS="python python2 py-setuptools"
+# PKGOPTIONS="FOO BAR BAZ"
+
+build()
+{
+	for py in python python2; do
+		rm -rf $PKGNAME-$PKGVERSION
+		tar xvf $PKGNAME-$PKGVERSION.tar.gz
+		cd $PKGNAME-$PKGVERSION
+
+		$py setup.py build
+		$py setup.py install --root=$DESTDIR --prefix=/.
+
+		cd ..
+		rm -rf $PKGNAME-$PKGVERSION
+	done
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Templates/build/python.sh	Thu Aug 29 21:00:00 2019 +0200
@@ -0,0 +1,38 @@
+#!/bin/busybox sh
+#
+# Copyright (c) 2019 FirstName LastName <mailaddress>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+PKGNAME=name
+PKGVERSION=1.0.0
+PKGREVISION=1
+PKGLICENSE="one of README.licenses.md or CUSTOM"
+PKGSUMMARY="short summary"
+PKGDOWNLOAD="http://example.org/$PKGNAME-$PKGVERSION.tar.xz"
+PKGDEPENDS="python py-setuptools"
+# PKGOPTIONS="FOO BAR BAZ"
+
+build()
+{
+	rm -rf $PKGNAME-$PKGVERSION
+	tar xvf $PKGNAME-$PKGVERSION.tar.gz
+	cd $PKGNAME-$PKGVERSION
+
+	python setup.py build
+	python setup.py install --root=$DESTDIR --prefix=/.
+
+	cd ..
+	rm -rf $PKGNAME-$PKGVERSION
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Templates/build/xfce.sh	Thu Aug 29 21:00:00 2019 +0200
@@ -0,0 +1,55 @@
+#!/bin/busybox sh
+#
+# Copyright (c) 2019 FirstName LastName <mailaddress>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+PKGNAME=name
+PKGVERSION=1.0.0
+PKGREVISION=1
+PKGLICENSE=""
+PKGSUMMARY="Xfce short summary"
+PKGDOWNLOAD="http://archive.xfce.org/xfce/${PKGVERSION%.*}/src/$PKGNAME-$PKGVERSION.tar.bz2"
+# PKGDEPENDS="category/foo category/bar"
+# PKGOPTIONS="FOO BAR BAZ"
+
+: ${CHOST:=$(uname -m)-linux-musl}
+: ${CBUILD:=$(uname -m)-linux-musl}
+: ${CC:=clang}
+: ${CFLAGS:=-O2}
+: ${LDFLAGS:=}
+: ${LIBS:=}
+
+build()
+{
+	rm -rf $PKGNAME-$PKGVERSION
+	tar xvf $PKGNAME-$PKGVERSION.tar.bz2
+	cd $PKGNAME-$PKGVERSION
+
+	CC="$CC" \
+	CFLAGS="$CFLAGS" \
+	LDFLAGS="$LDFLAGS" \
+	LIBS="$LIBS" \
+	./configure \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--prefix= \
+		--localedir=/share/locale \
+		--with-locales-dir=/share/locale
+	make
+	make install DESTDIR=$DESTDIR
+
+	cd ..
+	rm -rf $PKGNAME-$PKGVERSION
+}
--- a/Templates/busybox-post.sh	Thu Aug 29 20:34:00 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-#!/bin/busybox sh
-#
-# Copyright (c) 2019 FirstName LastName <mailaddress>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-
-if [ "$1" = "post-uninstall" ]; then
-	/bin/busybox --install -s
-fi
--- a/Templates/cmake.sh	Thu Aug 29 20:34:00 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-#!/bin/busybox sh
-#
-# Copyright (c) 2019 FirstName LastName <mailaddress>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-
-PKGNAME=name
-PKGVERSION=1.0.0
-PKGREVISION=1
-PKGLICENSE="one of README.licenses.md or CUSTOM"
-PKGSUMMARY="short summary"
-PKGDOWNLOAD="http://example.org/$PKGNAME-$PKGVERSION.tar.xz"
-PKGDEPENDS="cmake:build"
-# PKGOPTIONS="FOO BAR BAZ"
-
-: ${CC:=clang}
-: ${CFLAGS:=-O2}
-: ${CXX:=clang++}
-: ${CXXFLAGS:=-O2}
-
-build()
-{
-	rm -rf $PKGNAME-$PKGVERSION
-	tar xvf $PKGNAME-$PKGVERSION.tar.gz
-	cd $PKGNAME-$PKGVERSION
-
-	mkdir build && cd build
-	cmake .. \
-		-DBUILD_SHARED_LIBS=On \
-		-DCMAKE_BUILD_TYPE=Release \
-		-DCMAKE_CXX_COMPILER="$CXX" \
-		-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-		-DCMAKE_C_COMPILER="$CC" \
-		-DCMAKE_C_FLAGS="$CFLAGS" \
-		-DCMAKE_INSTALL_PREFIX=
-	make
-	make install DESTDIR=$DESTDIR
-	cd ..
-
-	cd ..
-	rm -rf $PKGNAME-$PKGVERSION
-}
--- a/Templates/gdk-pixbuf-post.sh	Thu Aug 29 20:34:00 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-#!/bin/busybox sh
-#
-# Copyright (c) 2019 FirstName LastName <mailaddress>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-
-if [ -x /bin/gtk-pixbuf-query-loaders ]; then
-	/bin/gdk-pixbuf-query-loaders --update-cache
-fi
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Templates/init/rc	Thu Aug 29 21:00:00 2019 +0200
@@ -0,0 +1,78 @@
+#!/bin/busybox sh
+#
+# /etc/rc.d/template -- run control script for template
+#
+# Copyright (c) 2019 FirstName LastName <mailaddress>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+if [ -f /etc/rc.conf ]; then
+	. /etc/rc.conf
+fi
+
+: ${TEMPLATE_CMD:=/bin/template}
+: ${TEMPLATE_ARGS:=--foo}
+: ${TEMPLATE_PID:=/var/run/template.pid}
+
+template_start()
+{
+	if [ -s $TEMPLATE_PID ]; then
+		echo "template is already running with pid: $(cat $TEMPLATE_PID)"
+	else
+		echo "Starting template: $TEMPLATE_CMD $TEMPLATE_ARGS"
+		$TEMPLATE_CMD $TEMPLATE_ARGS
+	fi
+}
+
+template_status()
+{
+	if [ -s $TEMPLATE_PID ]; then
+		echo "template is running with pid: $(cat $TEMPLATE_PID)"
+	else
+		echo "template is not running"
+	fi
+}
+
+template_stop()
+{
+	if [ -s $TEMPLATE_PID ]; then
+		echo "Stopping template."
+		kill -QUIT $(cat $TEMPLATE_PID)
+	fi
+}
+
+template_restart()
+{
+	template_stop
+	sleep 3
+	template_start
+}
+
+case $1 in
+start)
+	template_start
+	;;
+status)
+	template_status
+	;;
+stop)
+	template_stop
+	;;
+restart)
+	template_restart
+	;;
+*)
+	echo "usage: $(basename $0) restart|start|status|stop"
+	;;
+esac
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Templates/init/rc-ssd	Thu Aug 29 21:00:00 2019 +0200
@@ -0,0 +1,78 @@
+#!/bin/busybox sh
+#
+# /etc/rc.d/template -- run control script for template
+#
+# Copyright (c) 2019 FirstName LastName <mailaddress>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+if [ -f /etc/rc.conf ]; then
+	. /etc/rc.conf
+fi
+
+: ${TEMPLATE_CMD:=/bin/template}
+: ${TEMPLATE_ARGS:=--foo}
+: ${TEMPLATE_PID:=/var/run/template.pid}
+
+template_start()
+{
+	if [ -s $TEMPLATE_PID ]; then
+		echo "template is already running with pid: $(cat $TEMPLATE_PID)"
+	else
+		echo "Starting template: $TEMPLATE_CMD $TEMPLATE_ARGS"
+		start-stop-daemon -Sbvp $TEMPLATE_PID -x $TEMPLATE_CMD -- $TEMPLATE_ARGS
+	fi
+}
+
+template_status()
+{
+	if [ -s $TEMPLATE_PID ]; then
+		echo "template is running with pid: $(cat $TEMPLATE_PID)"
+	else
+		echo "template is not running"
+	fi
+}
+
+template_stop()
+{
+	if [ -s $TEMPLATE_PID ]; then
+		echo "Stopping template."
+		start-stop-daemon -Kp $TEMPLATE_PID
+	fi
+}
+
+template_restart()
+{
+	template_stop
+	sleep 3
+	template_start
+}
+
+case $1 in
+start)
+	template_start
+	;;
+status)
+	template_status
+	;;
+stop)
+	template_stop
+	;;
+restart)
+	template_restart
+	;;
+*)
+	echo "usage: $(basename $0) restart|start|status|stop"
+	;;
+esac
--- a/Templates/kde-frameworks.sh	Thu Aug 29 20:34:00 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-#!/bin/busybox sh
-#
-# Copyright (c) 2019 FirstName LastName <mailaddress>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-
-PKGNAME=?
-PKGVERSION=5.61.0
-PKGREVISION=1
-PKGLICENSE="one of README.licenses.md or CUSTOM"
-PKGSUMMARY="KDE ?"
-PKGDOWNLOAD="https://download.kde.org/stable/frameworks/${PKGVERSION%.*}/$PKGNAME-$PKGVERSION.tar.xz"
-PKGDEPENDS="
-cmake:build
-extra-cmake-modules:build
-qtbase"
-
-: ${CC:=clang}
-: ${CFLAGS:=-O2}
-: ${CXX:=clang++}
-: ${CXXFLAGS:=-O2}
-
-build()
-{
-	rm -rf $PKGNAME-$PKGVERSION
-	tar xvf $PKGNAME-$PKGVERSION.tar.xz
-	cd $PKGNAME-$PKGVERSION
-
-	mkdir build && cd build
-	cmake .. \
-		-DBUILD_SHARED_LIBS=On \
-		-DCMAKE_BUILD_TYPE=Release \
-		-DCMAKE_CXX_COMPILER="$CXX" \
-		-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-		-DCMAKE_C_COMPILER="$CC" \
-		-DCMAKE_C_FLAGS="$CFLAGS" \
-		-DCMAKE_INSTALL_PREFIX= \
-		-DBUILD_TESTING=Off \
-		-DECM_MKSPECS_INSTALL_DIR=/lib/qt/mkspecs/modules
-	make
-	make install DESTDIR=$DESTDIR
-	cd ..
-
-	cd ..
-	rm -rf $PKGNAME-$PKGVERSION
-}
--- a/Templates/libretro-git.sh	Thu Aug 29 20:34:00 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-#!/bin/busybox sh
-#
-# Copyright (c) 2019 FirstName LastName <mailaddress>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-
-_COMMIT=??
-_SCOMMIT=$(echo $_COMMIT | awk '{ print substr($1, 0, 7) }')
-
-PKGNAME=libretro-CORE
-PKGVERSION=$_SCOMMIT
-PKGREVISION=1
-PKGLICENSE="one of README.licenses.md or CUSTOM"
-PKGSUMMARY="libretro implementation for CORE"
-PKGDOWNLOAD="https://github.com/libretro/libretro-CORE/archive/$_COMMIT.tar.gz
-             https://raw.github.com/libretro/libretro-super/master/dist/info/CORE_libretro.info"
-
-: ${CC:=clang}
-: ${CFLAGS:=-O2}
-: ${CXX:=clang++}
-: ${CXXFLAGS:=-O2}
-
-build()
-{
-	rm -rf $PKGNAME-$_COMMIT
-	tar xvf $_COMMIT.tar.gz
-	cd $PKGNAME-$_COMMIT
-
-	make -f Makefile.libretro \
-		GIT_VERSION="$_SCOMMIT" \
-		CC="$CC" \
-		CXX="$CXX" \
-		CFLAGS="$CFLAGS" \
-		CXXFLAGS="$CXXFLAGS"
-	install -Dm0644 ../CORE_libretro.info $DESTDIR/share/libretro/info/CORE_libretro.info
-	install -Dm0644 CORE_libretro.so $DESTDIR/lib/libretro/CORE_libretro.so
-
-	cd ..
-	rm -rf $PKGNAME-$_COMMIT
-}
--- a/Templates/mate.sh	Thu Aug 29 20:34:00 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-#!/bin/busybox sh
-#
-# Copyright (c) 2019 FirstName LastName <mailaddress>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-
-PKGNAME=
-PKGVERSION=1.22.0
-PKGREVISION=1
-PKGLICENSE=""
-PKGSUMMARY="MATE "
-PKGDOWNLOAD="https://pub.mate-desktop.org/releases/1.22/$PKGNAME-$PKGVERSION.tar.xz"
-# PKGDEPENDS="category/foo category/bar"
-# PKGOPTIONS="FOO BAR BAZ"
-
-: ${CHOST:=$(uname -m)-linux-musl}
-: ${CBUILD:=$(uname -m)-linux-musl}
-: ${CC:=clang}
-: ${CFLAGS:=-O2}
-: ${LDFLAGS:=}
-: ${LIBS:=}
-
-build()
-{
-	rm -rf $PKGNAME-$PKGVERSION
-	tar xvf $PKGNAME-$PKGVERSION.tar.xz
-	cd $PKGNAME-$PKGVERSION
-
-	CC="$CC" \
-	CFLAGS="$CFLAGS" \
-	LDFLAGS="$LDFLAGS" \
-	LIBS="$LIBS" \
-	./configure \
-		--build=$CBUILD \
-		--host=$CHOST \
-		--prefix=
-	make
-	make install DESTDIR=$DESTDIR
-
-	cd ..
-	rm -rf $PKGNAME-$PKGVERSION
-}
--- a/Templates/meson.sh	Thu Aug 29 20:34:00 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-#!/bin/busybox sh
-#
-# Copyright (c) 2019 FirstName LastName <mailaddress>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-
-PKGNAME=name
-PKGVERSION=1.0.0
-PKGREVISION=1
-PKGLICENSE="one of README.licenses.md or CUSTOM"
-PKGSUMMARY="short summary"
-PKGDOWNLOAD="http://example.org/$PKGNAME-$PKGVERSION.tar.xz"
-PKGDEPENDS="meson:build"
-# PKGOPTIONS="FOO BAR BAZ"
-
-: ${CC:=clang}
-: ${CFLAGS:=-O2}
-: ${CXX:=clang++}
-: ${CXXFLAGS:=-O2}
-: ${LDFLAGS:=}
-
-build()
-{
-	rm -rf $PKGNAME-$PKGVERSION
-	tar xvf $PKGNAME-$PKGVERSION.tar.gz
-	cd $PKGNAME-$PKGVERSION
-
-	CC="$CC" \
-	CFLAGS="$CFLAGS" \
-	CXX="$CXX" \
-	CXXFLAGS="$CXXFLAGS" \
-	LDFLAGS="$LDFLAGS" \
-	meson . build \
-		--prefix / \
-		--buildtype release \
-		--default-library shared
-	ninja -C build
-	DESTDIR=$DESTDIR ninja -C build install
-	# sed -i -e "s|prefix=/|prefix=|" $DESTDIR/lib/pkgconfig/*.pc
-
-	cd ..
-	rm -rf $PKGNAME-$PKGVERSION
-}
--- a/Templates/minimal.sh	Thu Aug 29 20:34:00 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-#!/bin/busybox sh
-#
-# Copyright (c) 2019 FirstName LastName <mailaddress>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-
-PKGNAME=name
-PKGVERSION=1.0.0
-PKGREVISION=1
-PKGLICENSE="one of README.licenses.md or CUSTOM"
-PKGSUMMARY="short summary"
-PKGDOWNLOAD="http://example.org/$PKGNAME-$PKGVERSION.tar.xz"
-# PKGDEPENDS="category/foo category/bar"
-# PKGOPTIONS="FOO BAR BAZ"
-
-build()
-{
-	rm -rf $PKGNAME-$PKGVERSION
-	tar xvf $PKGNAME-$PKGVERSION.tar.gz
-	cd $PKGNAME-$PKGVERSION
-
-	cd ..
-	rm -rf $PKGNAME-$PKGVERSION
-}
--- a/Templates/perl.sh	Thu Aug 29 20:34:00 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-#!/bin/busybox sh
-#
-# Copyright (c) 2019 FirstName LastName <mailaddress>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-
-PKGNAME=name
-PKGVERSION=1.0.0
-PKGREVISION=1
-PKGLICENSE="one of README.licenses.md or CUSTOM"
-PKGSUMMARY="short summary"
-PKGDOWNLOAD="http://example.org/$PKGNAME-$PKGVERSION.tar.xz"
-PKGDEPENDS="perl"
-# PKGOPTIONS="FOO BAR BAZ"
-
-build()
-{
-	rm -rf $PKGNAME-$PKGVERSION
-	tar xvf $PKGNAME-$PKGVERSION.tar.gz
-	cd $PKGNAME-$PKGVERSION
-
-	perl Makefile.PL INSTALLDIRS=vendor
-	make DESTDIR=$DESTDIR install
-
-	cd ..
-	rm -rf $PKGNAME-$PKGVERSION
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Templates/post/busybox-symlinks.sh	Thu Aug 29 21:00:00 2019 +0200
@@ -0,0 +1,20 @@
+#!/bin/busybox sh
+#
+# Copyright (c) 2019 FirstName LastName <mailaddress>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+if [ "$1" = "post-uninstall" ]; then
+	/bin/busybox --install -s
+fi
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Templates/post/gdk-pixbuf-post.sh	Thu Aug 29 21:00:00 2019 +0200
@@ -0,0 +1,20 @@
+#!/bin/busybox sh
+#
+# Copyright (c) 2019 FirstName LastName <mailaddress>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+if [ -x /bin/gtk-pixbuf-query-loaders ]; then
+	/bin/gdk-pixbuf-query-loaders --update-cache
+fi
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Templates/post/shell.sh	Thu Aug 29 21:00:00 2019 +0200
@@ -0,0 +1,24 @@
+#!/bin/busybox sh
+#
+# Copyright (c) 2019 FirstName LastName <mailaddress>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+if [ "$1" = "post-install" ]; then
+	if ! grep -q "/bin/SHELL" $DESTDIR/etc/shells >/dev/null 2>&1; then
+		echo "/bin/SHELL" >> $DESTDIR/etc/shells
+	fi
+elif [ "$1" = "post-uninstall" ]; then
+	sed -i -e '/\/bin\/SHELL/d' $DESTDIR/etc/shells
+fi
--- a/Templates/python-hybrid.sh	Thu Aug 29 20:34:00 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-#!/bin/busybox sh
-#
-# Copyright (c) 2019 FirstName LastName <mailaddress>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-
-PKGNAME=name
-PKGVERSION=1.0.0
-PKGREVISION=1
-PKGLICENSE="one of README.licenses.md or CUSTOM"
-PKGSUMMARY="short summary"
-PKGDOWNLOAD="http://example.org/$PKGNAME-$PKGVERSION.tar.xz"
-PKGDEPENDS="python python2 py-setuptools"
-# PKGOPTIONS="FOO BAR BAZ"
-
-build()
-{
-	for py in python python2; do
-		rm -rf $PKGNAME-$PKGVERSION
-		tar xvf $PKGNAME-$PKGVERSION.tar.gz
-		cd $PKGNAME-$PKGVERSION
-
-		$py setup.py build
-		$py setup.py install --root=$DESTDIR --prefix=/.
-
-		cd ..
-		rm -rf $PKGNAME-$PKGVERSION
-	done
-}
--- a/Templates/python.sh	Thu Aug 29 20:34:00 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-#!/bin/busybox sh
-#
-# Copyright (c) 2019 FirstName LastName <mailaddress>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-
-PKGNAME=name
-PKGVERSION=1.0.0
-PKGREVISION=1
-PKGLICENSE="one of README.licenses.md or CUSTOM"
-PKGSUMMARY="short summary"
-PKGDOWNLOAD="http://example.org/$PKGNAME-$PKGVERSION.tar.xz"
-PKGDEPENDS="python py-setuptools"
-# PKGOPTIONS="FOO BAR BAZ"
-
-build()
-{
-	rm -rf $PKGNAME-$PKGVERSION
-	tar xvf $PKGNAME-$PKGVERSION.tar.gz
-	cd $PKGNAME-$PKGVERSION
-
-	python setup.py build
-	python setup.py install --root=$DESTDIR --prefix=/.
-
-	cd ..
-	rm -rf $PKGNAME-$PKGVERSION
-}
--- a/Templates/rc	Thu Aug 29 20:34:00 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-#!/bin/busybox sh
-#
-# /etc/rc.d/template -- run control script for template
-#
-# Copyright (c) 2019 FirstName LastName <mailaddress>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-
-if [ -f /etc/rc.conf ]; then
-	. /etc/rc.conf
-fi
-
-: ${TEMPLATE_CMD:=/bin/template}
-: ${TEMPLATE_ARGS:=--foo}
-: ${TEMPLATE_PID:=/var/run/template.pid}
-
-template_start()
-{
-	if [ -s $TEMPLATE_PID ]; then
-		echo "template is already running with pid: $(cat $TEMPLATE_PID)"
-	else
-		echo "Starting template: $TEMPLATE_CMD $TEMPLATE_ARGS"
-		$TEMPLATE_CMD $TEMPLATE_ARGS
-	fi
-}
-
-template_status()
-{
-	if [ -s $TEMPLATE_PID ]; then
-		echo "template is running with pid: $(cat $TEMPLATE_PID)"
-	else
-		echo "template is not running"
-	fi
-}
-
-template_stop()
-{
-	if [ -s $TEMPLATE_PID ]; then
-		echo "Stopping template."
-		kill -QUIT $(cat $TEMPLATE_PID)
-	fi
-}
-
-template_restart()
-{
-	template_stop
-	sleep 3
-	template_start
-}
-
-case $1 in
-start)
-	template_start
-	;;
-status)
-	template_status
-	;;
-stop)
-	template_stop
-	;;
-restart)
-	template_restart
-	;;
-*)
-	echo "usage: $(basename $0) restart|start|status|stop"
-	;;
-esac
--- a/Templates/shell-post.sh	Thu Aug 29 20:34:00 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-#!/bin/busybox sh
-#
-# Copyright (c) 2019 FirstName LastName <mailaddress>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-
-if [ "$1" = "post-install" ]; then
-	if ! grep -q "/bin/SHELL" $DESTDIR/etc/shells >/dev/null 2>&1; then
-		echo "/bin/SHELL" >> $DESTDIR/etc/shells
-	fi
-elif [ "$1" = "post-uninstall" ]; then
-	sed -i -e '/\/bin\/SHELL/d' $DESTDIR/etc/shells
-fi
--- a/Templates/xfce.sh	Thu Aug 29 20:34:00 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-#!/bin/busybox sh
-#
-# Copyright (c) 2019 FirstName LastName <mailaddress>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-
-PKGNAME=name
-PKGVERSION=1.0.0
-PKGREVISION=1
-PKGLICENSE=""
-PKGSUMMARY="Xfce short summary"
-PKGDOWNLOAD="http://archive.xfce.org/xfce/${PKGVERSION%.*}/src/$PKGNAME-$PKGVERSION.tar.bz2"
-# PKGDEPENDS="category/foo category/bar"
-# PKGOPTIONS="FOO BAR BAZ"
-
-: ${CHOST:=$(uname -m)-linux-musl}
-: ${CBUILD:=$(uname -m)-linux-musl}
-: ${CC:=clang}
-: ${CFLAGS:=-O2}
-: ${LDFLAGS:=}
-: ${LIBS:=}
-
-build()
-{
-	rm -rf $PKGNAME-$PKGVERSION
-	tar xvf $PKGNAME-$PKGVERSION.tar.bz2
-	cd $PKGNAME-$PKGVERSION
-
-	CC="$CC" \
-	CFLAGS="$CFLAGS" \
-	LDFLAGS="$LDFLAGS" \
-	LIBS="$LIBS" \
-	./configure \
-		--build=$CBUILD \
-		--host=$CHOST \
-		--prefix= \
-		--localedir=/share/locale \
-		--with-locales-dir=/share/locale
-	make
-	make install DESTDIR=$DESTDIR
-
-	cd ..
-	rm -rf $PKGNAME-$PKGVERSION
-}

mercurial