blob: 8c7f0e340e1bed2be518419c5354cead254d4042 (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
# $Id: PKGBUILD 105895 2014-02-18 09:17:33Z spupykin $
# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: mlq <mlq@pwmt.org>
pkgbase=girara
pkgname=(girara-common girara-gtk3)
pkgver=0.2.0
pkgrel=1
pkgdesc="user interface library"
arch=('i686' 'x86_64')
url="http://pwmt.org/projects/girara"
license=('custom')
makedepends=('gtk3' 'gtk2')
source=(http://pwmt.org/projects/girara/download/girara-$pkgver.tar.gz)
md5sums=('cb965af58bc435f356296e62629716f5')
build() {
true
}
package_girara-common() {
depends=()
pkgdesc="user interface library - common files"
cd "$srcdir/girara-$pkgver"
make clean
# install header
make DESTDIR="$pkgdir/" install-headers
# install language files
make DESTDIR="$pkgdir/" -C po install
# remove pkgconfig files
rm -r $pkgdir/usr/lib/pkgconfig
# install license
install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
package_girara-gtk2() {
depends=('gtk2' 'girara-common')
provides=('girara')
cd "$srcdir/girara-$pkgver"
make clean
make GIRARA_GTK_VERSION=2
# install files
make GIRARA_GTK_VERSION=2 DESTDIR="$pkgdir/" install
# remove common files
rm -r "$pkgdir/usr/include"
rm -r "$pkgdir/usr/share"
# install license
install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
package_girara-gtk3() {
depends=('gtk3' 'girara-common')
provides=('girara')
cd "$srcdir/girara-$pkgver"
make clean
make GIRARA_GTK_VERSION=3
# install files
make GIRARA_GTK_VERSION=3 DESTDIR="$pkgdir/" install
# remove common files
rm -r "$pkgdir/usr/include"
rm -r "$pkgdir/usr/share"
# install license
install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|