Date: Monday, October 2, 2017 @ 20:36:17 Author: heftig Revision: 306600
archrelease: copy trunk to testing-any Added: meld/repos/testing-any/ meld/repos/testing-any/PKGBUILD (from rev 306599, meld/trunk/PKGBUILD) ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Copied: meld/repos/testing-any/PKGBUILD (from rev 306599, meld/trunk/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2017-10-02 20:36:17 UTC (rev 306600) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Contributor: Gaetan Bisson <bis...@archlinux.org> +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> +# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> + +pkgname=meld +pkgver=3.18.0 +pkgrel=1 +pkgdesc="Compare files, directories and working copies" +url="http://meldmerge.org/" +license=(GPL) +arch=(any) +depends=(python-gobject python-cairo gtksourceview3 gsettings-desktop-schemas dconf) +makedepends=(intltool itstool git) +_commit=012f03ce077557637e78f7b1390d789f169eeff0 # tags/3.18.0^0 +source=("git+https://git.gnome.org/browse/meld#commit=$_commit") +sha1sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname +} + +build() { + cd $pkgname + python setup.py build +} + +package() { + cd $pkgname + # using --skip-build breaks install + python setup.py --no-update-icon-cache --no-compile-schemas \ + install --prefix=/usr --root="$pkgdir" --optimize=1 +}