summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarchunix2017-08-05 10:20:15 +0200
committerlarchunix2017-08-05 10:20:15 +0200
commitf6833cc2f7148f7be6f9f1dd9ec0c7190d6df548 (patch)
treef2a78f177752e5970ec85fa948bda29c65bc0c0b
parentee0737a6e305af2fa91ea70af04473ed03ce3ff0 (diff)
downloadaur-f6833cc2f7148f7be6f9f1dd9ec0c7190d6df548.tar.gz
Fix licence, Fedora URL and bash-completion dir
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD14
2 files changed, 10 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 257b025e8a5..0a32c611c53 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,14 @@
-# Generated by mksrcinfo v8
-# Sat Dec 26 09:04:18 UTC 2015
pkgbase = yum-utils
pkgdesc = A collection of utilities and plugins extending and supplementing yum in different ways
pkgver = 1.1.31
- pkgrel = 5
+ pkgrel = 6
url = http://yum.baseurl.org/wiki/YumUtils
arch = any
- license = GPLv2
+ license = GPL2
makedepends = intltool
depends = yum
source = http://yum.baseurl.org/download/yum-utils/yum-utils-1.1.31.tar.gz
- source = http://pkgs.fedoraproject.org/cgit/yum-utils.git/plain/yum-utils-HEAD.patch?h=f23
+ source = http://pkgs.fedoraproject.org/rpms/yum-utils/raw/master/f/yum-utils-HEAD.patch
md5sums = b2859b89321b98f2581243536e1b4993
md5sums = 139f73ae07023350d5624a18dfee892c
diff --git a/PKGBUILD b/PKGBUILD
index 905ac4a6dc2..4b2633a01f1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,16 +3,15 @@
pkgname=yum-utils
pkgver=1.1.31
-_fedora=f23
-pkgrel=5
+pkgrel=6
pkgdesc="A collection of utilities and plugins extending and supplementing yum in different ways"
arch=('any')
-license=('GPLv2')
+license=('GPL2')
url="http://yum.baseurl.org/wiki/YumUtils"
depends=('yum')
makedepends=('intltool')
source=("http://yum.baseurl.org/download/$pkgname/$pkgname-$pkgver.tar.gz"
- "http://pkgs.fedoraproject.org/cgit/$pkgname.git/plain/$pkgname-HEAD.patch?h=$_fedora")
+ "http://pkgs.fedoraproject.org/rpms/$pkgname/raw/master/f/$pkgname-HEAD.patch")
md5sums=('b2859b89321b98f2581243536e1b4993'
'139f73ae07023350d5624a18dfee892c')
@@ -20,15 +19,16 @@ prepare() {
cd "$pkgname-$pkgver"
# Patch up to Fedora current
- patch -p1 < "$srcdir/$pkgname-HEAD.patch?h=$_fedora"
+ patch -p1 < "$srcdir/$pkgname-HEAD.patch"
- find -type f | xargs sed -i 's|#! */usr/bin/python|&2|'
+ find -type f | xargs sed -e 's|#! */usr/bin/python|&2|' -i
sed -e 's|/usr/sbin/|/usr/bin/|g' -i Makefile
}
package() {
cd "$pkgname-$pkgver"
- make PYTHON=python2 DESTDIR="$pkgdir/" install
+ make BASHCOMPPATH="$pkgdir/"usr/share/bash-completion/completions/ \
+ PYTHON=python2 DESTDIR="$pkgdir/" install
}
# vim: set ft=sh ts=4 sw=4 noet: