mirror of
https://github.com/ErikReider/SwayNotificationCenter.git
synced 2024-11-22 01:33:41 +03:00
Removed regular PKGBUILD (#457)
This commit is contained in:
parent
8ea8569820
commit
86fdd16baf
@ -17,9 +17,6 @@ jobs:
|
|||||||
PKGBUILD-build:
|
PKGBUILD-build:
|
||||||
container: archlinux:base-devel
|
container: archlinux:base-devel
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
version: [PKGBUILD, PKGBUILD-git]
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: |
|
run: |
|
||||||
@ -38,13 +35,12 @@ jobs:
|
|||||||
- name: Check out sources
|
- name: Check out sources
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Test ${{ matrix.version }}
|
- name: Test PKGBUILD
|
||||||
run: |
|
run: |
|
||||||
file="${{ matrix.version }}"
|
build_dir="/tmp/PKGBUILD-git/"
|
||||||
build_dir="/tmp/$file/"
|
|
||||||
cd build-scripts
|
cd build-scripts
|
||||||
mkdir $build_dir
|
mkdir $build_dir
|
||||||
cp ./$file $build_dir/PKGBUILD
|
cp ./PKGBUILD-git $build_dir/PKGBUILD
|
||||||
cd $build_dir
|
cd $build_dir
|
||||||
sudo chown builduser $build_dir
|
sudo chown builduser $build_dir
|
||||||
sudo -H -u builduser bash -c 'makepkg -s --noconfirm'
|
sudo -H -u builduser bash -c 'makepkg -s --noconfirm'
|
@ -1,31 +0,0 @@
|
|||||||
# vim: ft=sh
|
|
||||||
# Maintainer: Erik Reider <erik.reider@protonmail.com>
|
|
||||||
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"
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user