blob: 47ee23d311e8b066f386776fb66751a7c6a9dbab (
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
|
# Maintainer: drarig29 <corentingirard.dev@gmail.com>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Luca Weiss <luca (at) z3ntu (dot) xyz>
# Contributor: Denis Meiswinkel <denis.meiswinkel@gmail.com>
# Contributor: Balló György <ballogyor+arch@gmail.com>
pkgname=dee
pkgver=1.2.7
pkgrel=14
pkgdesc="Model to synchronize multiple instances over DBus"
arch=("x86_64")
url="https://launchpad.net/dee"
license=("LGPL")
depends=("glib2" "icu")
makedepends=("gobject-introspection" "python" "vala")
source=("https://launchpad.net/${pkgname}/1.0/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"
dee-1.2.7-gcc6-fixes.patch
dee-1.2.7-fix-duplicates-vala-0.5X.patch
dee-1.2.7-deprecated-g_type_class_add_private.patch
dee-1.2.7-fix-g_string_free-usage.patch
vapi-skip-properties.patch)
sha256sums=('1bf0336ce684aa0f48d6eae2469628c1a9b43695a77443bc31a5790aa673bf8a'
'0a97d52b6c1e63ac070d9870914b1741d0bd2cd69f179c6a8ae69d0482905d38'
'03acd7a0f80a89d7520df27396ba9771b3cc3688f759eee7283f8bcc3852a988'
'e9be91ded88cbb8256ea71d20a71be6ca8e304bc971902e28ffe9bba0ac1dc05'
'cc5cffd8ad8803ec39c625d782e7cbfdd6380dca6d0fbe0f4253a35222519569'
'ba0f9f80e3827fc4e1e546e4011982512b5b09e8f66496b213a4bd319bf829f5')
prepare() {
cd ${pkgname}-${pkgver}
patch -Np1 -i ../dee-1.2.7-gcc6-fixes.patch
patch -Np1 -i ../dee-1.2.7-fix-duplicates-vala-0.5X.patch
patch -Np1 -i ../dee-1.2.7-deprecated-g_type_class_add_private.patch
patch -Np1 -i ../dee-1.2.7-fix-g_string_free-usage.patch
patch -Np1 -i ../vapi-skip-properties.patch
autoreconf -fi
}
build() {
cd ${pkgname}-${pkgver}
export PYTHON="/usr/bin/python"
./configure --prefix="/usr" --sysconfdir="/etc" --localstatedir="/var" --disable-{static,tests}
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
# vim: ts=2 sw=2 et:
|