desktop/gammaray/PKGBUILD
AlmAck 0af05b343a kde applications 16.12.0
renamed checksums to kdeapps.sums
added for all packages the pgp signature
for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
2016-12-20 21:48:24 +00:00

33 lines
993 B
Bash

pkgname=gammaray
pkgver=2.6.0
pkgrel=1
pkgdesc="tool to poke around in a Qt-application and also to manipulate the application to some extent"
arch=('x86_64')
url="http://www.kdab.com/gammaray"
license=('GPL')
depends=('qt5-base>=5.6' 'qt5-location' 'qt5-xmlpatterns' 'qt5-script' 'qt5-svg'
'qt5-declarative' 'qt5-webkit' 'qt5-3d' 'qt5-connectivity' 'kcoreaddons'
'git' 'qt5-graphicaleffects' 'qt5-tools' 'graphviz' 'kdstatemachineeditor')
makedepends=("cmake" 'doxygen' 'perl') # perl for pod2man
source=("https://github.com/KDAB/GammaRay/releases/download/v${pkgver}/gammaray-${pkgver}.tar.gz")
sha256sums=('6fe8e0bf9f9a479b7edf7d15e6ed48ad3cca666e149bc26e8fea54c12ded9039')
prepare()
{
cd "$srcdir/${pkgname}-$pkgver"
sed -i 's/enable_testing()//' ./CMakeLists.txt
mkdir -p build
}
build() {
cd "$srcdir/${pkgname}-$pkgver/build"
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package()
{
cd "$srcdir/$pkgname-$pkgver/build"
make DESTDIR=${pkgdir} install
}