diff --git a/aur-pkgs/hhd b/aur-pkgs/hhd index bf4541689..184f48bba 160000 --- a/aur-pkgs/hhd +++ b/aur-pkgs/hhd @@ -1 +1 @@ -Subproject commit bf4541689ce7605a52b34c8e0668c03c6092b2c7 +Subproject commit 184f48bba23ea5577b0364f1dffb3df3ac275641 diff --git a/pkgs/ayaled/PKGBUILD b/pkgs/ayaled/PKGBUILD deleted file mode 100644 index 967f91a6c..000000000 --- a/pkgs/ayaled/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Maintainer: Maya Matuszczyk -pkgname=ayaled -pkgver=0.5.3 -pkgrel=1 -pkgdesc="A daemon to manage joystick LEDs on AYANEO devices" -url="https://github.com/mengmeet/ayaled" -arch=('x86_64') -license=('custom') -makedepends=('cargo') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/mengmeet/ayaled/archive/refs/tags/${pkgver}.tar.gz) -sha256sums=('SKIP') - -prepare() { - cd "$pkgname-$pkgver" - - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" -} - -build() { - cd "$pkgname-$pkgver" - - export RUSTUP_TOOLCHAIN=stable - export CARGO_TARGET_DIR=target - cargo build --frozen --release --all-features -} - -check() { - cd "$pkgname-$pkgver" - - export RUSTUP_TOOLCHAIN=stable - cargo test --frozen --all-features -} - -package() { - cd "$pkgname-$pkgver" - - install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname" - mkdir -p "$pkgdir/etc/systemd/system" - install -m644 "src/ayaled.service" "$pkgdir/etc/systemd/system/ayaled.service" - mkdir -p "$pkgdir/usr/share/licenses/$pkgname" - install -m755 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/" -} \ No newline at end of file diff --git a/update-module.sh b/update-module.sh new file mode 100755 index 000000000..ca6128cd9 --- /dev/null +++ b/update-module.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +module_name=$1 + + +# if module_name is empty, update all modules +if [ -z "$module_name" ]; then + git submodule update --remote --recursive + exit 0 +fi + +module_path="aur-pkgs/$module_name" +git submodule update --remote "$module_path"