summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b974efd853b9af65ffb53742ebeb72cebfb2afae (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
36
37
38
# 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=1.8.3.r1.g598d1e5
pkgrel=1
pkgdesc="Fork of archup a small and lightweight update-notifier for archlinux."
url="https://github.com/aericson/aarchup"
arch=('i686' 'x86_64')
license=('GPL')
depends=('libnotify' 'gtk2')
makedepends=('git')
source=("git+https://github.com/stefanhusmann/aarchup.git")
md5sums=('SKIP')
backup=('usr/lib/systemd/system/aarchup.timer')
conflicts=('aarchup')
provides=('aarchup')
optdepends=('auracle: AUR support(--aur)')
install=aarchup.install

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

build() {
  cd ${pkgname%-git}/src
  autoconf
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname%-git}/src
  make DESTDIR="$pkgdir/" install
}