mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Update PKGBUILD and .SRCINFO with GitHub Actions
This commit is contained in:
commit
d201413840
2 changed files with 46 additions and 0 deletions
16
.SRCINFO
Normal file
16
.SRCINFO
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
pkgbase = onset
|
||||
pkgdesc = Lightweight XDG autostart manager for Linux
|
||||
pkgver = 1.0.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/xPathin/onset
|
||||
arch = x86_64
|
||||
arch = aarch64
|
||||
license = MIT
|
||||
makedepends = rust
|
||||
makedepends = cargo
|
||||
depends = gtk4
|
||||
depends = libadwaita
|
||||
source = onset-1.0.0.tar.gz::https://github.com/xPathin/onset/archive/v1.0.0.tar.gz
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = onset
|
||||
30
PKGBUILD
Normal file
30
PKGBUILD
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Maintainer: Patrick Fischer <aur at pathin dot me>
|
||||
pkgname=onset
|
||||
pkgver=1.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Lightweight XDG autostart manager for Linux"
|
||||
arch=('x86_64' 'aarch64')
|
||||
url="https://github.com/xPathin/onset"
|
||||
license=('MIT')
|
||||
depends=('gtk4' 'libadwaita')
|
||||
makedepends=('rust' 'cargo')
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cargo build --release --locked
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cargo test --release --locked
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
|
||||
install -Dm644 "data/com.github.xPathin.onset.desktop" "$pkgdir/usr/share/applications/com.github.xPathin.onset.desktop"
|
||||
install -Dm644 "data/icons/hicolor/scalable/apps/com.github.xPathin.onset.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/com.github.xPathin.onset.svg"
|
||||
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue