remove invalid advice

This commit is contained in:
speedie 2023-03-31 18:05:12 +02:00
parent 1d39136f8a
commit 425dd24812
3 changed files with 24 additions and 13 deletions

View file

@ -81,6 +81,7 @@ help:
@echo
@echo install: Installs spmenu. You may need to run this as root.
@echo uninstall: Uninstalls spmenu. You may need to run this as root.
@echo install_arch: Uses the PKGBUILD to install spmenu using pacman.
@echo dist: Creates a release for spmenu.
@echo clean: Removes objects and tarballs.
@echo man: Generate man page for spmenu
@ -104,9 +105,18 @@ pkg_arch: dist
rm -rf src/ pkg/ *.tar.gz
cp PKGBUILD spmenu-$(VERSION).PKGBUILD; mv PKGBUILD.orig PKGBUILD
install_arch: dist
command -v makepkg > /dev/null || exit 1
[ -f PKGBUILD ] || exit 1
cp -f PKGBUILD PKGBUILD.orig
sed -i "s/VERSION/$(VERSION)/g; s/MD5SUM/$$(md5sum *.tar.gz | cut -d ' ' -f 1)/g" PKGBUILD
makepkg -si || exit 1
rm -rf src/ pkg/ *.tar.gz
cp PKGBUILD spmenu-$(VERSION).PKGBUILD; mv PKGBUILD.orig PKGBUILD
commit: man
command -v git > /dev/null || exit 1
git commit -a
git push origin master
.PHONY: all options clean dist install uninstall pkg_arch help man commit
.PHONY: all options clean dist install install_arch uninstall pkg_arch help man commit

View file

@ -130,8 +130,9 @@ packages.</p>
<p>If you are on Arch GNU/Linux, you can add <a
href="https://git.speedie.gq/speedie-repository">my repository</a> which
includes <code>spmenu</code> as well as other useful packages.</p>
<p>Theres also a PKGBUILD. To use it, simply <code>makepkg -Si</code>
in the directory the PKGBUILD is located.</p>
<p>Theres also a PKGBUILD. To use it, simply
<code>make install_arch</code> in the directory the PKGBUILD is
located.</p>
<p>If you wish to package spmenu for your GNU/Linux distribution, feel
free to add it to this list.</p>
<h2 id="todo">TODO</h2>

View file

@ -107,7 +107,7 @@ If you are on Arch GNU/Linux, you can add
[my repository](https://git.speedie.gq/speedie-repository) which includes
`spmenu` as well as other useful packages.
There's also a PKGBUILD. To use it, simply `makepkg -Si` in the directory
There's also a PKGBUILD. To use it, simply `make install_arch` in the directory
the PKGBUILD is located.
If you wish to package spmenu for your GNU/Linux distribution, feel free to add