summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3ed83acdc3742bd0279d7e704ca898505c20878a (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
31
32
33
34
35
# Contributor: Rorschach <r0rschach@lavabit.com>
# Contributor: Andrew Kravchuk <awkravchuk@gmail.com>
# Contributor: aericson <de.ericson@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=aarchup-git
pkgver=2.1.7
pkgrel=1
pkgdesc="Fork of archup a small and lightweight update-notifier for archlinux."
url="https://github.com/inglor/aarchup"
arch=('i686' 'x86_64')
license=('GPL')
depends=('libnotify' 'gtk2')
makedepends=('git' 'cmake' 'meson' 'ninja')
source=("git+https://gitlab.com/artafinde/aarchup.git")
md5sums=('SKIP')
conflicts=('aarchup')
provides=('aarchup')
optdepends=('auracle: AUR support(--aur)')

pkgver() {
  cd ${pkgname%-git}
  git describe --tags | sed 's+-+.r+' |tr - .
}

build() {
  cd ${pkgname%-git}
  meson --prefix=/usr --buildtype=plain . build
  meson compile -C build
}

package() {
  cd ${pkgname%-git}
  DESTDIR="$pkgdir/" ninja install -C build
}