summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4f3ad23113109705fee1962044e83603316e1bec (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
# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>

pkgname=kvirtual
pkgver=1.1.1
_commithash='c44469b'
_developer='didier13150'
pkgrel=2
pkgdesc="KDE4 GUI-frontend for kvm/qemu emulator"
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php/KVirtual?content=150682"
license=('GPL2')
depends=('kdebase-runtime' 'qemu')
makedepends=('cmake' 'automoc4')
source=("$pkgname-$pkgver.tar.gz::https://github.com/$_developer/$pkgname/tarball/$_commithash")
sha256sums=('b4c9b11add2a8174cd13ed7c5349551d0afdd1ded5a339f4310c49467bfed5ad')

_srcfolder=$_developer-$pkgname-$_commithash

prepare() {
	mv "$_srcfolder" "$pkgname-$pkgver"
}

build() {
	cd "$pkgname-$pkgver"
	mkdir -p build
	cd build
	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
	make
}
package() {
	cd "$pkgname-$pkgver/build"
	make DESTDIR="$pkgdir" install
}