blob: 5d19bb90936a06b0273cba5af1086473cd099488 (
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 101151 2013-11-18 15:15:09Z 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-gtk2 girara-gtk3)
pkgver=0.1.9
pkgrel=1
pkgdesc="user interface library"
arch=('i686' 'x86_64' 'mips64el')
url="http://pwmt.org/projects/girara"
license=('custom')
makedepends=('gtk3' 'gtk2')
source=(http://pwmt.org/projects/girara/download/girara-$pkgver.tar.gz)
md5sums=('0b51fc07b5763b506d46598576e5576e')
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"
}
|