diff --git a/.github/workflows/aur.yml b/.github/workflows/aur.yml index cea05d0..eb21cb9 100644 --- a/.github/workflows/aur.yml +++ b/.github/workflows/aur.yml @@ -16,12 +16,18 @@ jobs: environment: name: aur-update runs-on: ubuntu-latest - container: - image: archlinux - options: --privileged steps: - - name: AUR update - uses: TheWisker/aur-update@v1 + - name: AUR update (hyprpanel) + uses: ATiltedTree/create-aur-release@v1.1.0 with: - aur_key: ${{ secrets.AUR_KEY }} - email: ${{ secrets.AUR_EMAIL }} \ No newline at end of file + package_name: hyprpanel + ssh_private_key: ${{ secrets.AUR_KEY }} + commit_username: ${{ secrets.AUR_COMMIT_USER }} + commit_email: ${{ secrets.AUR_COMMIT_EMAIL }} + - name: AUR update (hyprpanel-bin) + uses: ATiltedTree/create-aur-release@v1.1.0 + with: + package_name: hyprpanel-bin + ssh_private_key: ${{ secrets.AUR_KEY }} + commit_username: ${{ secrets.AUR_COMMIT_USER }} + commit_email: ${{ secrets.AUR_COMMIT_EMAIL }} \ No newline at end of file diff --git a/aur/hyprpanel-bin/.SRCINFO b/aur/hyprpanel-bin/.SRCINFO deleted file mode 100644 index bb0f679..0000000 --- a/aur/hyprpanel-bin/.SRCINFO +++ /dev/null @@ -1,23 +0,0 @@ -pkgbase = hyprpanel-bin - pkgdesc = An opinionated panel/shell for the Hyprland compositor. - pkgver = 0.1.4 - pkgrel = 1 - url = https://github.com/pdf/hyprpanel - arch = x86_64 - arch = aarch64 - license = MIT - depends = gtk4 - depends = gtk4-layer-shell - depends = hyprland - optdepends = systemd: logging support - optdepends = pulse-native-provider: volume control support - optdepends = upower: battery status support - provides = hyprpanel - conflicts = hyprpanel - options = !strip - source_x86_64 = hyprpanel-bin-0.1.4-x86_64.tar.gz::https://github.com/pdf/hyprpanel/releases/download/v0.1.4/hyprpanel_Linux_x86_64.tar.gz - sha256sums_x86_64 = fa02374b4a3a5423caa8896bc666f95d481cacc7a9e015ac10ee8b963e5f7f71 - source_aarch64 = hyprpanel-bin-0.1.4-aarch64.tar.gz::https://github.com/pdf/hyprpanel/releases/download/v0.1.4/hyprpanel_Linux_arm64.tar.gz - sha256sums_aarch64 = cd20e17e4acb98599ac6eb933be35a9a51fde530caa780bfcc6b6247ee052c4e - -pkgname = hyprpanel-bin diff --git a/aur/hyprpanel-bin/.gitignore b/aur/hyprpanel-bin/.gitignore deleted file mode 100644 index f71c635..0000000 --- a/aur/hyprpanel-bin/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -* -!.gitignore -!PKGBUILD -!.SRCINFO diff --git a/aur/hyprpanel-bin/PKGBUILD b/aur/hyprpanel-bin/PKGBUILD deleted file mode 100644 index 4be6f3f..0000000 --- a/aur/hyprpanel-bin/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Maintainer: Peter Fern - -pkgname=hyprpanel-bin -_pkgname=${pkgname%-bin} -pkgver=0.1.4 -pkgrel=1 -pkgdesc="An opinionated panel/shell for the Hyprland compositor." -arch=('x86_64' 'aarch64') -url="https://github.com/pdf/hyprpanel" -license=('MIT') -provides=("$_pkgname") -conflicts=("$_pkgname") -options=('!strip') -depends=('gtk4' 'gtk4-layer-shell' 'hyprland') -optdepends=('systemd: logging support' - 'pulse-native-provider: volume control support' - 'upower: battery status support') -_src="${url}/releases/download/v${pkgver}/hyprpanel_Linux" -source_x86_64=("${pkgname}-${pkgver}-x86_64.tar.gz::${_src}_x86_64.tar.gz") -source_aarch64=("${pkgname}-${pkgver}-aarch64.tar.gz::${_src}_arm64.tar.gz") -sha256sums_x86_64=('fa02374b4a3a5423caa8896bc666f95d481cacc7a9e015ac10ee8b963e5f7f71') -sha256sums_aarch64=('cd20e17e4acb98599ac6eb933be35a9a51fde530caa780bfcc6b6247ee052c4e') - -package() { - install -Dm644 "${srcdir}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - install -Dm755 "${srcdir}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}" - install -Dm755 "${srcdir}/${_pkgname}-client" "${pkgdir}/usr/bin/${_pkgname}-client" -} - -# vim:set ts=2 sw=2 et: diff --git a/aur/hyprpanel/.SRCINFO b/aur/hyprpanel/.SRCINFO deleted file mode 100644 index 590a57b..0000000 --- a/aur/hyprpanel/.SRCINFO +++ /dev/null @@ -1,21 +0,0 @@ -pkgbase = hyprpanel - pkgdesc = An opinionated panel/shell for the Hyprland compositor. - pkgver = 0.1.4 - pkgrel = 1 - url = https://github.com/pdf/hyprpanel - arch = x86_64 - arch = aarch64 - license = MIT - makedepends = git - makedepends = go - depends = gtk4 - depends = gtk4-layer-shell - depends = hyprland - optdepends = systemd: logging support - optdepends = pulse-native-provider: volume control support - optdepends = upower: battery status support - options = !strip - source = https://github.com/pdf/hyprpanel/archive/v0.1.4/hyprpanel-0.1.4.tar.gz - sha256sums = c2589aca93d45b016738d2b0124e3fbe9f6565c9d89c91c68dbe70a10ecb2ecc - -pkgname = hyprpanel diff --git a/aur/hyprpanel/.gitignore b/aur/hyprpanel/.gitignore deleted file mode 100644 index f71c635..0000000 --- a/aur/hyprpanel/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -* -!.gitignore -!PKGBUILD -!.SRCINFO diff --git a/aur/hyprpanel/PKGBUILD b/aur/hyprpanel/PKGBUILD deleted file mode 100644 index d05ae2e..0000000 --- a/aur/hyprpanel/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Maintainer: Peter Fern - -pkgname=hyprpanel -pkgver=0.1.4 -pkgrel=1 -pkgdesc="An opinionated panel/shell for the Hyprland compositor." -arch=('x86_64' 'aarch64') -url="https://github.com/pdf/hyprpanel" -license=('MIT') -options=('!strip') -depends=('gtk4' 'gtk4-layer-shell' 'hyprland') -optdepends=('systemd: logging support' - 'pulse-native-provider: volume control support' - 'upower: battery status support') -makedepends=('git' 'go') -source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('c2589aca93d45b016738d2b0124e3fbe9f6565c9d89c91c68dbe70a10ecb2ecc') - -build() { - export CGO_ENABLED=0 - cd "${pkgname}-${pkgver}" - go build -v -o "${pkgname}" "./cmd/${pkgname}" - go build -v -o "${pkgname}-client" "./cmd/${pkgname}-client" -} - -package() { - install -Dm644 "${pkgname}-${pkgver}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - install -Dm755 "${pkgname}-${pkgver}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" - install -Dm755 "${pkgname}-${pkgver}/${pkgname}-client" "${pkgdir}/usr/bin/${pkgname}-client" -} - -# vim:set ts=2 sw=2 et: