blob: 69d411439155d5768204144ed1ae0d6f0d9947b9 (
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
|
# Contributor: August Klein <amatcoder_at_gmail.com>
# Maintainer: August Klein <amatcoder_at_gmail.com>
pkgname=meld
pkgver=1.8.5
pkgrel=0
pkgdesc="A Visual diff and merge tool"
url="http://meldmerge.org"
arch="noarch"
license="GPL2"
depends="py-gtk"
depends_dev=""
makedepends="intltool itstool gnome-doc-utils"
install=""
subpackages="$pkgname-lang $pkgname-doc"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make prefix=/usr || return 1
}
package() {
cd "$_builddir"
make prefix=/usr DESTDIR="${pkgdir}" install \
update_desktop_database= update_mime_database= || return 1
}
doc() {
mkdir -p "$subpkgdir"/usr/share/gnome || return 1
mkdir -p "$subpkgdir"/usr/share/omf || return 1
mv "$pkgdir"/usr/share/gnome/* "$subpkgdir"/usr/share/gnome/ || return 1
mv "$pkgdir"/usr/share/omf/* "$subpkgdir"/usr/share/omf/ || return 1
}
md5sums="36e84ea3d9547d3be8ebefef83673d42 meld-1.8.5.tar.xz"
sha256sums="e0f1d6007117a4be95d7c399359cb2ebfa80f2b9158222d727e9a35ae4d5d44d meld-1.8.5.tar.xz"
sha512sums="09b36923fedfb8f67dd120a71a1fb591efd812b8e1e451281ffee639ce02a7c8fd0d280254c5270ec547df38a30c53a309a7749fa2a63093bd3cf8f46195332b meld-1.8.5.tar.xz"
|