summaryrefslogtreecommitdiff
path: root/community/qt-at-api/PKGBUILD
blob: f5c380be0af99940ee7ae4cf54560aae06350d86 (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
# $Id: PKGBUILD 106680 2014-03-06 13:50:43Z flexiondotorg $
# Maintainer : Martin Wimpress <code@flexion.org>
# Contributor: Kyle <kyle@gmx.ca>

pkgname=qt-at-spi
pkgver=0.3.1
pkgrel=3
pkgdesc="A Qt plugin that bridges the QAccessible API’s to the AT-SPI 2 protocol, giving blind and visually impaired users access to qt applications."
arch=(i686 x86_64)
url="http://projects.kde.org/qtatspi"
license=('LGPL')
depends=('at-spi2-core' 'qt4>=4.8')
source=(https://gitorious.org/$pkgname/$pkgname/archive-tarball/v$pkgver
        qt-accessibility.sh)
md5sums=('cc749ef766f8a199b603a7d5fb723006'
         'f0c8551ed54f5d4e5daf7ddac9189aaa')

build() {
	cd "$srcdir/$pkgname-$pkgname"
	qmake-qt4
	make
}

check() {
	cd "$srcdir/$pkgname-$pkgname"
	make -k check
}

package() {
	cd "$srcdir/$pkgname-$pkgname"
	make INSTALL_ROOT="$pkgdir" install
	install -D -m755 "$srcdir/qt-accessibility.sh" "$pkgdir/etc/profile.d/qt-accessibility.sh"
}