summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBlackEagle2012-05-06 22:15:12 +0200
committerBlackEagle2015-07-05 22:33:32 +0200
commit9e9c5c67c824408cd6c0a05294bd92d0c0cb3283 (patch)
tree6b26fe641626fdbe6e6bb1bf46a37a20be4d1850
parent7f39c503dded8216ef7306e69c77648f9f71a37f (diff)
downloadaur-9e9c5c67c824408cd6c0a05294bd92d0c0cb3283.tar.gz
kvirtual-git :: 20120506-1
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD5
2 files changed, 8 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bfd831dfc16..5bec3bd73ac 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,4 +1,4 @@
-pkgbase = kvirtual
+pkgbase = kvirtual-git
pkgdesc = KDE4 GUI-frontend for kvm/qemu emulator
pkgver = 20120506
pkgrel = 1
@@ -11,6 +11,8 @@ pkgbase = kvirtual
makedepends = automoc4
depends = kdebase-runtime
depends = qemu
+ provides = kvirtual
+ conflicts = kvirtual
-pkgname = kvirtual
+pkgname = kvirtual-git
diff --git a/PKGBUILD b/PKGBUILD
index 65a2cfb3018..a483555898d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
-pkgname=kvirtual
+pkgname=kvirtual-git
pkgver=20120506
pkgrel=1
pkgdesc="KDE4 GUI-frontend for kvm/qemu emulator"
@@ -9,6 +9,8 @@ url="http://kde-apps.org/content/show.php/KVirtual?content=150682"
license=('GPL2')
depends=('kdebase-runtime' 'qemu')
makedepends=('git' 'cmake' 'automoc4')
+provides=('kvirtual')
+conflicts=('kvirtual')
source=()
if [ -e .githash_$CARCH ] ; then
@@ -49,5 +51,6 @@ package() {
cd "$_gitname-build"
make DESTDIR="$pkgdir" install
+ cd "$srcdir/$_gitname"
git show | grep -m 1 commit | sed 's/commit //' > "$startdir/.githash_$CARCH"
}