[arch-commits] Commit in python-imaplib2/repos (community-any community-any/PKGBUILD)
Morten Linderud
foxboron at gemini.archlinux.org
Fri Nov 12 22:23:00 UTC 2021
Date: Friday, November 12, 2021 @ 22:22:59
Author: foxboron
Revision: 1044867
archrelease: copy trunk to community-any
Added:
python-imaplib2/repos/community-any/
python-imaplib2/repos/community-any/PKGBUILD
(from rev 1044866, python-imaplib2/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-imaplib2/repos/community-any/PKGBUILD (from rev 1044866, python-imaplib2/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2021-11-12 22:22:59 UTC (rev 1044867)
@@ -0,0 +1,34 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Pi-Yueh Chuang <pychuang at pm.me>
+# Contributor: Lex Black <autumn-wind at web.de>
+# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
+
+pkgname=python-imaplib2
+pkgver=3.6
+pkgrel=2
+pkgdesc="Threaded Python IMAP4 client"
+arch=('any')
+url="https://github.com/jazzband/imaplib2"
+license=('MIT')
+depends=('python')
+makedepends=('git' 'python-setuptools')
+provides=("${pkgname}")
+conflicts=("${pkgname}-git")
+source=("${pkgname}::git+https://github.com/jazzband/imaplib2.git#tag=v3.6")
+md5sums=('SKIP')
+
+build() {
+ cd "${pkgname}"
+ python setup.py build
+}
+
+package() {
+ cd "${pkgname}"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ # install README
+ install -Dm644 "README.md" -t "$pkgdir/usr/share/doc/$pkgname"
+
+ # install license
+ install -Dm644 "LICENCE" -t "$pkgdir/usr/share/licenses/$pkgname"
+}
More information about the arch-commits
mailing list