diff --git a/.github/release-nest-v3 b/.github/release-nest-v3 index 56a6051..d8263ee 100644 --- a/.github/release-nest-v3 +++ b/.github/release-nest-v3 @@ -1 +1 @@ -1 \ No newline at end of file +2 \ No newline at end of file diff --git a/debian/changelog b/debian/changelog index 6d8d068..ece5935 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ -upstream-name (1.0-101pika1) pika; urgency=medium +ly (1.0.2git-101pika1) pika; urgency=medium - * Initial release. (Closes: #nnnn) + * Initial release. -- ferreo Wed, 18 Jan 2023 21:48:14 +0000 diff --git a/debian/control b/debian/control index 0bcd8e0..c2d0b0b 100644 --- a/debian/control +++ b/debian/control @@ -1,19 +1,14 @@ -Source: upstream-name +Source: ly Section: admin Priority: optional -Maintainer: name +Maintainer: ferreo Standards-Version: 4.6.1 -Build-Depends: debhelper-compat (= 13) +Build-Depends: debhelper-compat (= 13), zig, build-essential, libpam0g-dev, libxcb-xkb-dev Rules-Requires-Root: no -Package: pkgname1 +Package: ly Architecture: linux-any -# Delete any of these lines if un-used -Depends: ${misc:Depends}, depends -Recommends: high priority optdepends -Conflicts: conflicts -Suggests: low priority optdepends -Breaks: also conflicts!? -Provides: provides +Depends: ${misc:Depends}, ${shlibs:Depends} +Provides: ly # -Description: pkgdesc +Description: display manager diff --git a/debian/copyright b/debian/copyright index e69de29..8cffccc 100644 --- a/debian/copyright +++ b/debian/copyright @@ -0,0 +1,13 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2004 Sam Hocevar + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. \ No newline at end of file diff --git a/debian/ly.install b/debian/ly.install new file mode 100644 index 0000000..7312ca8 --- /dev/null +++ b/debian/ly.install @@ -0,0 +1,2 @@ +usr +etc \ No newline at end of file diff --git a/debian/rules b/debian/rules index 64a084a..ddaf646 100755 --- a/debian/rules +++ b/debian/rules @@ -1,67 +1,18 @@ #! /usr/bin/make -f -## See debhelper(7) (uncomment to enable). -## Output every command that modifies files on the build system. export DH_VERBOSE = 1 export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch) -## === the chain of command === -## debuild runs a chain of dh functions in the following order: -## dh_testdir -## dh_clean -## dh_auto_clean -## dh_update_autotools_config -## dh_autoreconf -## dh_auto_configure -## dh_prep -## dh_build -## dh_auto_build -## dh_install -## dh_auto_install -## dh_installdocs -## dh_installchangelogs -## dh_perl -## dh_link -## dh_strip_nondeterminism -## dh_compress -## dh_fixperms -## dh_missing -## dh_dwz -## dh_strip -## dh_makeshlibs -## dh_shlibdeps -## dh_installdeb -## dh_gencontrol -## but you are most likely to only need to override the following: -## dh_clean -## dh_auto_configure -## dh_build -## dh_install - -## === End end of region === - -## === overriding dh functions === -## by default all dh functions will run a specific command based on the build system selected by "dh $@" -## if you have a makefile that does everything you need this is fine, -## but most likely you have no MakeFile and you want to add your own commands -## Note : overrides must be places above %: -## So here's a few examples: - -## overriding dh_clean to make it not delete rust vendor files: -#override_dh_clean: -# echo "disabled" - -## overriding dh_auto_configure to add custom configs: -#override_dh_auto_configure: -# $(srcdir)/configure -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_DATADIR=/usr/share -DCMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu -DBUILD_PLUGIN=OFF - -## overriding dh_install to install files to a package: -#override_dh_auto_configure: -# mkdir -p debian/pikman/usr/bin -# cp pikman debian/pikman/usr/bin/ - -## === End end of region === - -## This here will start the build: %: dh $@ + +# override_dh_install: +# dh_install +# mkdir -p debian/pikafetch/usr/bin/ +# cp -vf pikafetch debian/pikafetch/usr/bin/ +# chmod 755 debian/pikafetch/usr/bin/pikafetch +# chmod +x debian/pikafetch/usr/bin/pikafetch + +override_dh_auto_build: + zig build -Dcpu=x86_64_v3 -Doptimize=ReleaseFast -Ddest_directory=debian/pikafetch/ installsystemd + diff --git a/main.sh b/main.sh index d80ca48..8873fb5 100755 --- a/main.sh +++ b/main.sh @@ -6,15 +6,15 @@ set -e echo "$PIKA_BUILD_ARCH" > pika-build-arch -VERSION="1.0" +VERSION="1.0.2git" # Clone Upstream -mkdir -p ./src-pkg-name -cp -rvf ./debian ./src-pkg-name/ -cd ./src-pkg-name/ +git clone --recurse-submodules https://github.com/fairyglade/ly.git +cp -rvf ./debian ./ly/ +cd ./ly/ # Get build deps -LOGNAME=root dh_make --createorig -y -l -p src-pkg-name_"$VERSION" || echo "dh-make: Ignoring Last Error" +LOGNAME=root dh_make --createorig -y -l -p ly_"$VERSION" || echo "dh-make: Ignoring Last Error" apt-get build-dep ./ -y # Build package