summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarchunix2015-07-11 12:37:02 +0200
committerlarchunix2015-07-11 12:37:02 +0200
commit0a7404daf4e0b0f5e72a38636611ef334a3b789f (patch)
tree5b9db35460935d29972ffc9039ccbbccb4af3014
downloadaur-0a7404daf4e0b0f5e72a38636611ef334a3b789f.tar.gz
Initial import
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD27
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..93936436dc1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = yum-utils
+ pkgdesc = A collection of utilities and plugins extending and supplementing yum in different ways
+ pkgver = 1.1.31
+ pkgrel = 3
+ url = http://yum.baseurl.org/wiki/YumUtils
+ arch = any
+ license = GPLv2
+ makedepends = intltool
+ depends = yum
+ source = http://yum.baseurl.org/download/yum-utils/yum-utils-1.1.31.tar.gz
+ md5sums = b2859b89321b98f2581243536e1b4993
+
+pkgname = yum-utils
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..955862db802
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Contributor: Alan Brault <extrarius.aur@incruentatus.net>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=yum-utils
+pkgver=1.1.31
+pkgrel=3
+pkgdesc="A collection of utilities and plugins extending and supplementing yum in different ways"
+arch=('any')
+license=('GPLv2')
+url="http://yum.baseurl.org/wiki/YumUtils"
+depends=('yum')
+makedepends=('intltool')
+source=("http://yum.baseurl.org/download/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('b2859b89321b98f2581243536e1b4993')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ find -type f | xargs sed -i 's|#! */usr/bin/python|&2|'
+ sed -e 's|/usr/sbin/|/usr/bin/|g' -i Makefile
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make PYTHON=python2 DESTDIR="$pkgdir/" install
+}
+
+# vim: set ft=sh ts=4 sw=4 noet: