[arch-commits] Commit in python2-meld3/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 9 23:40:30 UTC 2018
Date: Friday, November 9, 2018 @ 23:40:29
Author: felixonmars
Revision: 405352
archrelease: copy trunk to community-staging-any
Added:
python2-meld3/repos/community-staging-any/
python2-meld3/repos/community-staging-any/PKGBUILD
(from rev 405351, python2-meld3/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: python2-meld3/repos/community-staging-any/PKGBUILD (from rev 405351, python2-meld3/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-11-09 23:40:29 UTC (rev 405352)
@@ -0,0 +1,26 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Daniele Paolella <dp at mcrservice.it>
+
+pkgname=python2-meld3
+_libname=meld3
+pkgver=1.0.2
+pkgrel=2
+pkgdesc="An HTML/XML templating engine"
+arch=('any')
+url="https://github.com/supervisor/meld3"
+license=('Repoze')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=(https://files.pythonhosted.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz)
+sha256sums=('f7b754a0fde7a4429b2ebe49409db240b5699385a572501bb0d5627d299f9558')
+
+build() {
+ cd "$srcdir"/meld3-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir"/meld3-$pkgver
+ python2 setup.py install -O1 --skip-build --prefix=/usr --root="$pkgdir"
+ install -m0644 -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
More information about the arch-commits
mailing list