summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9dd92a3b8e4e21a40c69f958638dd09313be0088 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Matt Coffin <mcoffin13@gmail.com>
pkgname=wwwidgets
pkgver=1.0
pkgrel=1
epoch=
pkgdesc="professional set of useful widgets for qt4 and qt5"
arch=('i686' 'x86_64')
url="http://www.wysota.eu.org/wwwidgets/"
license=('GPL')
groups=()
depends=('qt5-base' 'qt5-tools')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("http://www.wysota.eu.org/wwwidgets/wwWidgets-$pkgver-qt5.tar.gz")
noextract=()
sha256sums=('81d797e7493a23ee50d695180026cb2a14b0519c834982fee00d3fa63733cd7f')
validpgpkeys=()

prepare() {
    cd "wwWidgets"
}

build() {
	cd "wwWidgets"
	qmake
	make sub-widgets
}

check() {
    cd "wwWidgets"
}

package() {
	cd "wwWidgets"
    mkdir -p "$pkgdir/usr/lib"
	install -m 0644 -t "$pkgdir/usr/lib" "widgets/libwwwidgets4.so.$pkgver"
    ln -s "/usr/lib/libwwwidgets4.so.$pkgver" "$pkgdir/usr/lib/libwwwidgets4.so.1"
    ln -s "/usr/lib/libwwwidgets4.so.$pkgver" "$pkgdir/usr/lib/libwwwidgets4.so"
}