From 86fdd16baf118f9aa6a31e6d1fab7b953b08737c Mon Sep 17 00:00:00 2001 From: Erik Reider <35975961+ErikReider@users.noreply.github.com> Date: Sun, 4 Aug 2024 17:13:19 +0200 Subject: [PATCH] Removed regular PKGBUILD (#457) --- ...KGBUILD-builds.yml => PKGBUILD-buildd.yml} | 10 ++---- build-scripts/PKGBUILD | 31 ------------------- 2 files changed, 3 insertions(+), 38 deletions(-) rename .github/workflows/{PKGBUILD-builds.yml => PKGBUILD-buildd.yml} (83%) delete mode 100644 build-scripts/PKGBUILD diff --git a/.github/workflows/PKGBUILD-builds.yml b/.github/workflows/PKGBUILD-buildd.yml similarity index 83% rename from .github/workflows/PKGBUILD-builds.yml rename to .github/workflows/PKGBUILD-buildd.yml index d947b53..949c722 100644 --- a/.github/workflows/PKGBUILD-builds.yml +++ b/.github/workflows/PKGBUILD-buildd.yml @@ -17,9 +17,6 @@ jobs: PKGBUILD-build: container: archlinux:base-devel runs-on: ubuntu-latest - strategy: - matrix: - version: [PKGBUILD, PKGBUILD-git] steps: - name: Install packages run: | @@ -38,13 +35,12 @@ jobs: - name: Check out sources uses: actions/checkout@v3 - - name: Test ${{ matrix.version }} + - name: Test PKGBUILD run: | - file="${{ matrix.version }}" - build_dir="/tmp/$file/" + build_dir="/tmp/PKGBUILD-git/" cd build-scripts mkdir $build_dir - cp ./$file $build_dir/PKGBUILD + cp ./PKGBUILD-git $build_dir/PKGBUILD cd $build_dir sudo chown builduser $build_dir sudo -H -u builduser bash -c 'makepkg -s --noconfirm' diff --git a/build-scripts/PKGBUILD b/build-scripts/PKGBUILD deleted file mode 100644 index dbbae83..0000000 --- a/build-scripts/PKGBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# vim: ft=sh -# Maintainer: Erik Reider -pkgname=swaync -pkgver=0.10.1 -pkgrel=1 -pkgdesc="A simple notification daemon with a GTK panel for checking previous notifications like other DEs" -_pkgfoldername=SwayNotificationCenter -url="https://github.com/ErikReider/$_pkgfoldername" -arch=( - 'x86_64' - 'aarch64' # ARM v8 64-bit - 'armv7h' # ARM v7 hardfloat -) -license=(GPL3) -depends=("gtk3" "gtk-layer-shell" "dbus" "glib2" "gobject-introspection" "libgee" "json-glib" "libhandy" "libpulse" "gvfs" "libnotify" "granite") -conflicts=("swaync" "swaync-client") -provides=("swaync" "swaync-client" "notification-daemon") -makedepends=("vala>=0.56" meson git scdoc sassc) -source=("${_pkgfoldername}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('5586d8a679dde5e530cb8b6f0c86abdd0d5e41362fc1c4e56e2211edea0f7a13') - -build() { - arch-meson "${_pkgfoldername}-${pkgver}" build -Dscripting=true - ninja -C build -} - -package() { - DESTDIR="$pkgdir/" ninja -C build install - install -Dm644 "$_pkgfoldername-$pkgver/COPYING" -t "$pkgdir/usr/share/licenses/$pkgname" - install -Dm644 "$_pkgfoldername-$pkgver/README.md" -t "$pkgdir/usr/share/doc/$pkgname" -}