[arch-commits] Commit in (4 files)
Kpcyrd
kpcyrd at archlinux.org
Fri Mar 5 01:17:07 UTC 2021
Date: Friday, March 5, 2021 @ 01:17:07
Author: kpcyrd
Revision: 881639
addpkg: arch-audit-gtk 0.1.1-1
Added:
arch-audit-gtk/
arch-audit-gtk/repos/
arch-audit-gtk/trunk/
arch-audit-gtk/trunk/PKGBUILD
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Added: arch-audit-gtk/trunk/PKGBUILD
===================================================================
--- arch-audit-gtk/trunk/PKGBUILD (rev 0)
+++ arch-audit-gtk/trunk/PKGBUILD 2021-03-05 01:17:07 UTC (rev 881639)
@@ -0,0 +1,43 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+
+pkgname=arch-audit-gtk
+pkgver=0.1.1
+pkgrel=1
+pkgdesc='Arch Linux Security Update Notifications'
+url='https://github.com/kpcyrd/arch-audit-gtk'
+arch=('x86_64')
+license=('GPL3')
+depends=('arch-audit' 'libappindicator-gtk3')
+optdepends=(
+ 'gnome-shell-extension-appindicator: support for gnome3'
+)
+makedepends=('cargo' 'clang' 'llvm')
+source=(https://github.com/kpcyrd/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+ https://github.com/kpcyrd/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc)
+sha512sums=('328a94f7817a4d30d94bc7be3e77ef54d20c0a409f8c1739d9b94352a37b02c35ee1b416ac5ae57f76c59ba5a49c17ce8e5fb4f4530889d9f8eebe8daa1243cc'
+ 'SKIP')
+b2sums=('bf996d9175d525331851e4aac1c443d41773587948512f13f58eb33f7ec4ccf35d04263baf802928793a57576309b63906d7fa97a68174d04279cbdfdd77c35c'
+ 'SKIP')
+
+validpgpkeys=("64B13F7117D6E07D661BBCE0FE763A64F5E54FD6")
+
+build() {
+ cd ${pkgname}-${pkgver}
+ cargo build --release --locked
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ cargo test --release --locked
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
+ install -Dm 644 icons/*.svg -t "${pkgdir}/usr/share/arch-audit-gtk/icons"
+ install -Dm 644 contrib/arch-audit-gtk.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/arch-audit-gtk.conf"
+ install -Dm 644 contrib/arch-audit-gtk.hook "${pkgdir}/usr/share/libalpm/hooks/arch-audit-gtk.hook"
+ install -Dm 644 contrib/arch-audit-gtk.desktop -t "${pkgdir}/etc/xdg/autostart"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list