summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjjacky2012-09-10 16:51:06 +0200
committerOlivier Brunel2015-06-08 19:07:37 +0200
commita986e97bc19bff39555f438b10bd177eb95359c2 (patch)
treec77477bd07d2b83fb81260183554102709a909e3
downloadaur-a986e97bc19bff39555f438b10bd177eb95359c2.tar.gz
Add kalu-git, to get the latest/dev version of kalu
Signed-off-by: Olivier Brunel <jjk@jjacky.com>
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD48
2 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ec9902c368d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = kalu-git
+ pkgdesc = Upgrade notifier w/ AUR support, watched (AUR) packages, news
+ pkgver = 20120910
+ pkgrel = 1
+ url = https://github.com/jjk-jacky/kalu
+ arch = i686
+ arch = x86_64
+ license = GPL3+
+ makedepends = git
+ makedepends = autoconf
+ depends = dbus
+ depends = polkit
+ depends = gtk3
+ depends = pacman>=4.0.1
+ depends = pacman<4.1
+ depends = curl
+ depends = libnotify
+ depends = notification-daemon
+ depends = xdg-utils
+ provides = kalu
+ conflicts = kalu
+
+pkgname = kalu-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2fc571982b7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,48 @@
+# Maintainer: jjacky
+pkgname=kalu-git
+pkgver=20120910
+pkgrel=1
+pkgdesc="Upgrade notifier w/ AUR support, watched (AUR) packages, news"
+arch=('i686' 'x86_64')
+url="https://github.com/jjk-jacky/kalu"
+license=('GPL3+')
+depends=('dbus' 'polkit' 'gtk3' 'pacman>=4.0.1' 'pacman<4.1' 'curl' 'libnotify' 'notification-daemon' 'xdg-utils')
+makedepends=('git' 'autoconf')
+provides=('kalu')
+conflicts=('kalu')
+
+_gitroot=https://github.com/jjk-jacky/kalu
+_gitname=master
+
+build() {
+ cd "$srcdir"
+ msg "Connecting to GIT server...."
+
+ if [[ -d "$_gitname" ]]; then
+ cd "$_gitname" && git pull origin
+ msg "The local files are updated."
+ else
+ git clone "$_gitroot" "$_gitname"
+ fi
+
+ msg "GIT checkout done or server timeout"
+ msg "Starting build..."
+
+ rm -rf "$srcdir/$_gitname-build"
+ git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
+ cd "$srcdir/$_gitname-build"
+
+ #
+ # BUILD HERE
+ #
+ autoreconf -i
+ ./configure --prefix=/usr --enable-git-version
+ make
+}
+
+package() {
+ cd "$srcdir/$_gitname-build"
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et: