prideflags-wallpapers/package-arch.sh

26 lines
602 B
Bash
Raw Normal View History

2021-05-27 20:49:28 +00:00
# cd to arch dir
cd package/arch
# Update sha256 checksum
updpkgsums
# Test PKGBUILD is working
namcap PKGBUILD
2021-05-28 17:44:25 +00:00
# Build into package
2021-05-27 20:49:28 +00:00
makepkg
2021-05-28 17:44:25 +00:00
# Test finished package
package=( *.tar.zst )
namcap "${package[0]}"
2021-05-27 20:49:28 +00:00
# Delete test files
2021-05-28 17:44:25 +00:00
rm -rf src/ pkg/ *.tar.xz
# Make .SRCINFO
makepkg --printsrcinfo > .SRCINFO
2021-05-27 20:49:28 +00:00
# Tell user file has been packaged and ready to be uploaded to AUR
echo "Package has been packaged and is ready to upload to AUR. Generic AUR upload instructions can be found at https://wiki.archlinux.org/title/AUR_submission_guidelines."
echo "NOTE: REMEMBER TO UPDATE PKGBUILD VERSION!"