Commit dce6e5fc authored by August Klein's avatar August Klein Committed by Jakub Jirutka
Browse files

testing/meld: upgrade to 3.16.0

parent 3e37cade
# Contributor: August Klein <amatcoder_at_gmail.com>
# Maintainer: August Klein <amatcoder_at_gmail.com>
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=meld
pkgver=1.8.6
pkgver=3.16.0
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=""
depends="dconf gtksourceview gsettings-desktop-schemas py-gobject3"
makedepends="intltool itstool libxml2-utils"
subpackages="$pkgname-lang $pkgname-doc"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz"
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
}
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
make prefix=/usr || return 1
cd "$builddir"
python setup.py build || 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
cd "$builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="872e6c28a7913f1eab1cacf27d6d1e5a meld-1.8.6.tar.xz"
sha256sums="af96682b8f4bf3ad4221c853b1516218d62a17ff43c38f4a83e7e8ac6736e8a5 meld-1.8.6.tar.xz"
sha512sums="7a1c52c6686efab1e233f1f1506b9f0a8d4c040150fefc63d09510156a17819c375c9d10090c97e4a913ce3887d118ee09e75af7de4def24dfc5a75d5ad71511 meld-1.8.6.tar.xz"
md5sums="ed12ede512f1be0dcfb8876b55d019db meld-3.16.0.tar.xz"
sha256sums="341bfd53ac7c0167d6d43694c0e7dbedf76463bdf79b425c439376ba15b56c0a meld-3.16.0.tar.xz"
sha512sums="12425fbdcafcd305bebbf368292c0481fd17b2e75f73c9788d9e017ab22b6ef986f3b4ec2fb44063141b6a6072975397402f7a59ed27666a788c73e4861dd720 meld-3.16.0.tar.xz"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment