Added arch package and flags

This commit is contained in:
Daryl Ronningen 2021-05-27 13:49:28 -07:00
parent 32696b3549
commit 5321f449d1
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B
13 changed files with 42 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*.tar.xz

BIN
flags/agender.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

BIN
flags/asexual.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

BIN
flags/bisexual.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
flags/gay.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
flags/genderfluid.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

BIN
flags/genderqueer.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
flags/lesbian.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
flags/nonbinary.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

BIN
flags/pansexual.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

BIN
flags/transgender.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

24
package-arch.sh Executable file
View file

@ -0,0 +1,24 @@
# Compact flags to archive
tar -cf - flags/ | xz -9e -c - > flags.tar.xz
# Copy flags.tar.xz to arch package
cp flags.tar.xz package/arch
# cd to arch dir
cd package/arch
# Update sha256 checksum
updpkgsums
# Test PKGBUILD is working
namcap PKGBUILD
# Test PKGBUILD builds
makepkg
# Delete test files
rm -rf src/ pkg *.tar.zst
# 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!"

17
package/arch/PKGBUILD Normal file
View file

@ -0,0 +1,17 @@
# Maintainer: Daryl Ronningen <relms@relms.dev>
pkgname=prideflags-wallpapers
pkgver=1.0.0
pkgrel=2
pkgdesc='Pride Flags Wallpapers'
arch=(any)
url='https://code.relms.dev/Relms/pride-flags-wallpapers'
makedepends=('tar')
optdepends=('feh: set desktop wallpapers')
license=('custom:none')
source=('flags.tar.xz')
sha256sums=('cfa51b1d1bed0cf8a81fdbeff5700570a334362b7ec425948de62d8d31e700a9')
package() {
install -Dm644 -t "$pkgdir/usr/share/backgrounds/prideflags/" flags/*
}