1 # Contributor: Andre Ericson <de.ericson@gmail.com>
5 pkgdesc="Small and lightweight update-notifier for archlinux."
7 url="http://www.nongnu.org/archup"
9 depends=('pacman' 'libnotify')
10 makedepends=('git' 'libnotify' 'autoconf' 'gzip')
11 source=(libnotify.patch)
12 md5sums=('991604cdea3d7858a9dcfe5dd359f5d1')
16 _gitroot="git://git.sv.gnu.org/archup.git"
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build/src"
37 patch -p1 < ../../libnotify.patch
39 ./configure || return 1
41 make DESTDIR=${pkgdir} install || return 1