1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-11-21 08:15:01 -05:00

Delete createrepo

This commit is contained in:
Travis Burtrum 2017-11-26 00:15:53 -05:00
parent 5480acb9fa
commit c761ced586

View File

@ -1,37 +0,0 @@
pkgname=createrepo
pkgver=0.10.4
pkgrel=1
pkgdesc="Create rpm-metadata formatted package repositories"
arch=('any')
url="https://github.com/rpm-software-management/$pkgname"
license=('GPL')
depends=('deltarpm' 'libxml2' 'python2' 'python2-pyliblzma' 'rpm-org'
'yum' 'yum-metadata-parser')
makedepends=('bash-completion')
checkdepends=('pychecker')
source=("$url/archive/$pkgname-${pkgver//./-}.tar.gz")
md5sums=('d5a31a4a075010d5c2e51fbf631a368f')
prepare() {
mv "$pkgname-$pkgname-${pkgver//./-}" "$pkgname-$pkgver"
cd "$pkgname-$pkgver"
find -type f | xargs sed -e 's|#! */usr/bin/python|&2|' -i
}
build() {
cd "$pkgname-$pkgver"
make PYTHON=python2
}
check() {
cd "$pkgname-$pkgver"
make check
}
package() {
cd "$pkgname-$pkgver"
make PYTHON=python2 DESTDIR="$pkgdir/" install
}
# vim: set ft=sh ts=4 sw=4 noet: