Date: Saturday, March 1, 2014 @ 14:23:05
  Author: heftig
Revision: 206561

add PKGBUILD for future version

Added:
  meld/trunk/PKGBUILD-3.11

---------------+
 PKGBUILD-3.11 |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Added: PKGBUILD-3.11
===================================================================
--- PKGBUILD-3.11                               (rev 0)
+++ PKGBUILD-3.11       2014-03-01 13:23:05 UTC (rev 206561)
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 204566 2014-01-22 23:15:09Z heftig $
+# Maintainer: Gaetan Bisson <[email protected]>
+# Contributor: Daniel J Griffiths <[email protected]>
+# Contributor: Douglas Soares de Andrade <[email protected]>
+
+pkgname=meld
+pkgver=3.11.0
+pkgrel=1
+pkgdesc='Visual diff and merge tool'
+url='http://meldmerge.org/'
+license=('GPL')
+arch=('any')
+makedepends=('intltool' 'itstool')
+depends=('python2-gobject' 'gtk3' 'gtksourceview3' 'hicolor-icon-theme' 
'desktop-file-utils')
+source=("http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz";)
+sha1sums=('3a23ef1b813bdcb3f8fd0308d46ba83f8536c90b')
+
+# Don't forget to add the glib-compile-schemas call to install before using 
this PKGBUILD
+install=install
+
+build() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       python2 setup.py build
+}
+
+package() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 
--skip-build
+
+       # Missing files; required
+       install -d "${pkgdir}"/usr/share/{glib-2.0/schemas,icons}
+       cp -r data/icons/hicolor data/icons/HighContrast 
"${pkgdir}/usr/share/icons"
+       cp data/org.gnome.meld.gschema.xml 
"${pkgdir}/usr/share/glib-2.0/schemas"
+}

Reply via email to