feat(packaging): add MIT/Apache-2.0 license files

Add LICENSE-MIT and LICENSE-APACHE (the dual license already declared in
Cargo.toml, previously absent) and install both into the package. Retarget
the PKGBUILD git source to main now that the packaging branch has merged.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-26 04:55:18 -04:00
parent 2edd7f0fa8
commit 6c275faf28
3 changed files with 228 additions and 4 deletions
+5 -4
View File
@@ -1,8 +1,7 @@
# Maintainer: mollusk <jitty+lc1iz0dc@protonmail.com>
#
# Local versioned package. Builds from the local git repo; for the first
# package we track the `feat/packaging` branch. Once this is merged, point
# `_branch` at `main` (or switch to a `#tag=v0.1.0` fragment for a release).
# Local versioned package, built from the local git repo on `main`.
# For a tagged release, switch the source fragment to `#tag=v0.1.0`.
pkgname=pixelpass
pkgver=0.1.0
@@ -33,7 +32,7 @@ optdepends=(
)
makedepends=('cargo' 'git')
options=('!lto')
_branch='feat/packaging'
_branch='main'
source=("$pkgname::git+file:///home/mollusk/git/butter/pixelpass#branch=$_branch")
sha256sums=('SKIP')
@@ -59,4 +58,6 @@ package() {
install -Dm0644 assets/pixelpass.svg \
"$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg"
install -Dm0644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
install -Dm0644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
install -Dm0644 LICENSE-APACHE "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
}