diff --git a/Cargo.lock b/Cargo.lock index d878184..2375eb9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -144,7 +144,7 @@ checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" [[package]] name = "corsairctl" -version = "0.1.1" +version = "0.1.2" dependencies = [ "alsa", "clap", diff --git a/Cargo.toml b/Cargo.toml index d810efb..8a16dab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "corsairctl" -version = "0.1.1" +version = "0.1.2" edition = "2024" description = "CLI tool for Corsair Bragi-protocol devices (HS80, etc.)" license = "MIT" diff --git a/PKGBUILD b/PKGBUILD index 02ba722..67809c1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: nevaforget pkgname=corsairctl -pkgver=0.1.0 +pkgver=0.1.2 pkgrel=1 pkgdesc='CLI tool for Corsair Bragi-protocol devices (HS80 RGB Wireless, etc.)' arch=('x86_64') @@ -8,7 +8,7 @@ url='https://gitea.moonarch.de/nevaforget/corsairctl' license=('MIT') depends=('hidapi' 'alsa-lib') makedepends=('cargo' 'pkg-config') -source=("git+${url}.git") +source=("git+${url}.git#tag=v$pkgver") sha256sums=('SKIP') prepare() { @@ -29,4 +29,5 @@ package() { install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname" install -Dm755 "scripts/corsairctl-waybar.sh" "$pkgdir/usr/bin/corsairctl-waybar" install -Dm644 "udev/99-corsair.rules" "$pkgdir/usr/lib/udev/rules.d/99-corsair.rules" + install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }