summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0588ac99b0272ebaaf38809e8f5b0cc3c56a1aa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=gnome-shell-extension-arch-update-security-news-git
pkgver=2.rc1.r0.g83b1a75
pkgrel=1
pkgdesc="Update indicator for ArchLinux and Gnome-Shell"
arch=('any')
url="https://github.com/slaclau/arch-update-security-news"
license=('GPL-3.0-or-later')
depends=('arch-audit' 'gnome-shell' 'pacman-contrib' 'xdg-utils')
makedepends=('git')
optdepends=('gnome-terminal: default terminal used to update packages')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}" 'gnome-shell-extension-arch-update')
source=('git+https://github.com/slaclau/arch-update-security-news.git')
sha256sums=('SKIP')

pkgver() {
  cd arch-update-security-news
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd arch-update-security-news
  make _build
}

package() {
  cd arch-update-security-news
  make DESTDIR="$pkgdir" install
}