[arch-commits] Commit in pyalpm/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sat May 20 20:49:48 UTC 2017


    Date: Saturday, May 20, 2017 @ 20:49:48
  Author: jelle
Revision: 296336

upgpkg: pyalpm 0.8.1-1

Modified:
  pyalpm/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-20 19:32:24 UTC (rev 296335)
+++ PKGBUILD	2017-05-20 20:49:48 UTC (rev 296336)
@@ -1,26 +1,23 @@
 # Maintainer : Rémy Oudompheng <remy at archlinux.org>
 
 pkgname=pyalpm
-pkgver=0.8
-pkgrel=2
+pkgver=0.8.1
+pkgrel=1
 pkgdesc="Libalpm bindings for Python 3"
 arch=('i686' 'x86_64')
 url="http://projects.archlinux.org/users/remy/pyalpm.git/"
 license=('GPL')
+makedepends=('git')
 depends=('python>=3.6' 'pacman>=4.2')
-source=("https://sources.archlinux.org/other/pyalpm/$pkgname-$pkgver.tar.gz")
-sha1sums=('b153afc02b7034158558536c4092a302af8030c3')
+source=("git+https://git.archlinux.org/pyalpm.git#tag=$pkgver")
+sha1sums=('SKIP')
 
-prepare() {
-  sed -i 's/-ansi/-std=c99/' ${pkgname}-${pkgver}/setup.py
-}
-
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${srcdir}/${pkgname}
   python setup.py build
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${srcdir}/${pkgname}
   python setup.py install --root=${pkgdir}
 }



More information about the arch-commits mailing list